TopologyUtility includes geometric methods relevant to any Topology.
More...
#include <TopologyUtility.h>
|
static Topology ^ | Translate (Topology^ topology, double x, double y, double z) |
| Translates (moves) a Topology a certain distance according to XYZ values. More...
|
|
static Topology ^ | Rotate (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 Topology ^ | Scale (Topology^ topology, Vertex^ origin, double xFactor, double yFactor, double zFactor) |
| Scales a Topology according to an origin and XYZ factors. More...
|
|
static Topology ^ | 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) |
| 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...
|
|
TopologyUtility includes geometric methods relevant to any Topology.
◆ 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
-
- 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
-
topology | The Topology to be rotated |
origin | The origin |
xVector | The X vector |
yVector | The Y vector |
zVector | The Z vector |
degree | The 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
-
topology | The Topology to be scaled |
origin | The origin |
xFactor | The X factor |
yFactor | The Y factor |
zFactor | The 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
-
topology | A 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
-
topology | The Topology to be translated |
x | The x value |
y | The y value |
z | The z value |
- Returns
- The Topology in its new location
The documentation for this class was generated from the following files: