Topologic  0.8.9
Static Public Member Functions | List of all members
Topologic::Utilities::TopologyUtility Class Reference

TopologyUtility includes geometric methods relevant to any Topology. More...

#include <TopologyUtility.h>

Static Public Member Functions

static TopologyTranslate (Topology^ topology, double x, double y, double z)
 Translates (moves) a Topology a certain distance according to XYZ values. More...
 
static TopologyRotate (Topology^ topology, Vertex^ origin, double xVector, double yVector, double zVector, double degree)
 Rotates a Topology given an origin, XYZ vectors and an angle. More...
 
static TopologyScale (Topology^ topology, Vertex^ origin, double xFactor, double yFactor, double zFactor)
 Scales a Topology according to an origin and XYZ factors. More...
 
static TopologyTransform (Topology^ topology, double translationX, double translationY, double translationZ, double rotation11, double rotation12, double rotation13, double rotation21, double rotation22, double rotation23, double rotation31, double rotation32, double rotation33)
 Transforms a Topology according to translation and rotation factors. More...
 
static List< Topology^> ^ AdjacentTopologies (Topology^ topology, Topology^ parentTopology, int typeFilter)
 Returns a list of Topologies that are the adjacent to the input Topology. More...
 

Detailed Description

TopologyUtility includes geometric methods relevant to any Topology.

Member Function Documentation

◆ AdjacentTopologies()

List< Topology^> Topologic::Utilities::TopologyUtility::AdjacentTopologies ( Topology topology,
Topology parentTopology,
int  typeFilter 
)
static

Returns a list of Topologies that are the adjacent to the input Topology.

Parameters
topologyA Topology
parentTopologyA parent Topology
typeFilterThe type of the context Topology
Returns
A list of Topologies adjacent to the input Topology

◆ Rotate()

Topology Topologic::Utilities::TopologyUtility::Rotate ( Topology topology,
Vertex origin,
double  xVector,
double  yVector,
double  zVector,
double  degree 
)
static

Rotates a Topology given an origin, XYZ vectors and an angle.

Parameters
topologyThe Topology to be rotated
originThe origin
xVectorThe X vector
yVectorThe Y vector
zVectorThe Z vector
degreeThe angle in degrees
Returns
The Topology after its rotation

◆ Scale()

Topology Topologic::Utilities::TopologyUtility::Scale ( Topology topology,
Vertex origin,
double  xFactor,
double  yFactor,
double  zFactor 
)
static

Scales a Topology according to an origin and XYZ factors.

Parameters
topologyThe Topology to be scaled
originThe origin
xFactorThe X factor
yFactorThe Y factor
zFactorThe Z factor
Returns
The Topology after its scaling

◆ Transform()

Topology Topologic::Utilities::TopologyUtility::Transform ( Topology topology,
double  translationX,
double  translationY,
double  translationZ,
double  rotation11,
double  rotation12,
double  rotation13,
double  rotation21,
double  rotation22,
double  rotation23,
double  rotation31,
double  rotation32,
double  rotation33 
)
static

Transforms a Topology according to translation and rotation factors.

Parameters
topologyA Topology
translationX
translationY
translationZ
rotation11
rotation12
rotation13
rotation21
rotation22
rotation23
rotation31
rotation32
rotation33
Returns

◆ Translate()

Topology Topologic::Utilities::TopologyUtility::Translate ( Topology topology,
double  x,
double  y,
double  z 
)
static

Translates (moves) a Topology a certain distance according to XYZ values.

Parameters
topologyThe Topology to be translated
xThe x value
yThe y value
zThe z value
Returns
The Topology in its new location

The documentation for this class was generated from the following files: