CellUtility includes geometric methods relevant to a Cell.
More...
#include <CellUtility.h>
|
static Cell ^ | ByLoft (System::Collections::Generic::IEnumerable< Wire^>^ wires) |
| Creates a Cell by lofting through a set of Wires. More...
|
|
static Cell ^ | ByCuboid (double xCentroid, double yCentroid, double zCentroid, double xDimension, double yDimension, double zDimension, double xNormal, double yNormal, double zNormal, double xAxisX, double yAxisX, double ZAxisX, double xAxisY, double yAxisY, double ZAxisY) |
| Creates a Cell by a Cuboid. More...
|
|
static Cell ^ | BySphere (double xCentroid, double yCentroid, double zCentroid, double radius) |
| Creates a Cell by a Sphere. More...
|
|
static Cell ^ | ByTwoCorners (Vertex ^ minVertex, Vertex ^ maxVertex) |
| Creates an Axis-Aligned Bounding Box Cell by two Vertices at the minimum and maximum corners. More...
|
|
static double | Volume (Cell^ cell) |
| Returns the volume of a Cell. More...
|
|
static bool | Contains (Cell^ cell, Vertex^ vertex, bool allowOnBoundary, double tolerance) |
| Checks if a Vertex is contained in a Cell or not. More...
|
|
static List< double > ^ | GetMinMax (Cell^ cell) |
| Returns six values associated to the x, y, z coordinates of the bounding box of the Cell. More...
|
|
static Vertex ^ | InternalVertex (Cell^ cell, double tolerance) |
| Returns a Vertex inside the Cell. More...
|
|
CellUtility includes geometric methods relevant to a Cell.
◆ ByCuboid()
Cell Topologic::Utilities::CellUtility::ByCuboid |
( |
double |
xCentroid, |
|
|
double |
yCentroid, |
|
|
double |
zCentroid, |
|
|
double |
xDimension, |
|
|
double |
yDimension, |
|
|
double |
zDimension, |
|
|
double |
xNormal, |
|
|
double |
yNormal, |
|
|
double |
zNormal, |
|
|
double |
xAxisX, |
|
|
double |
yAxisX, |
|
|
double |
ZAxisX, |
|
|
double |
xAxisY, |
|
|
double |
yAxisY, |
|
|
double |
ZAxisY |
|
) |
| |
|
static |
Creates a Cell by a Cuboid.
- Parameters
-
xCentroid | The X coordinate of the centroid |
yCentroid | The Y coordinate of the centroid |
zCentroid | The Z coordinate of the centroid |
xDimension | The size along the X axis |
yDimension | The size along the Y axis |
zDimension | The size along the Z axis |
xNormal | The X component of the normal |
yNormal | The Y component of the normal |
zNormal | The Z component of the normal |
xAxisX | The X component of the X-axis |
yAxisX | The X component of the Y-axis |
ZAxisX | The X component of the Z-axis |
- Returns
- The created Cell
◆ ByLoft()
Cell Topologic::Utilities::CellUtility::ByLoft |
( |
System::Collections::Generic::IEnumerable< Wire^>^ |
wires | ) |
|
|
static |
Creates a Cell by lofting through a set of Wires.
- Parameters
-
- Returns
- The created Cell
◆ BySphere()
Cell Topologic::Utilities::CellUtility::BySphere |
( |
double |
xCentroid, |
|
|
double |
yCentroid, |
|
|
double |
zCentroid, |
|
|
double |
radius |
|
) |
| |
|
static |
Creates a Cell by a Sphere.
- Parameters
-
xCentroid | The X coordinate of the centroid |
yCentroid | The Y coordinate of the centroid |
zCentroid | The Z coordinate of the centroid |
radius | The radius of the Sphere |
- Returns
- The created Cell
◆ ByTwoCorners()
Cell Topologic::Utilities::CellUtility::ByTwoCorners |
( |
Vertex ^ |
minVertex, |
|
|
Vertex ^ |
maxVertex |
|
) |
| |
|
static |
Creates an Axis-Aligned Bounding Box Cell by two Vertices at the minimum and maximum corners.
- Parameters
-
- Returns
- The created Cell
◆ Contains()
bool Topologic::Utilities::CellUtility::Contains |
( |
Cell^ |
cell, |
|
|
Vertex^ |
vertex, |
|
|
bool |
allowOnBoundary, |
|
|
double |
tolerance |
|
) |
| |
|
static |
Checks if a Vertex is contained in a Cell or not.
- Parameters
-
cell | The Cell |
vertex | The Vertex |
allowOnBoundary | Is the Vertex allowed on the Cell's boundary? |
tolerance | A positive tolerance value |
- Returns
- True or false
◆ GetMinMax()
List< double > Topologic::Utilities::CellUtility::GetMinMax |
( |
Cell^ |
cell | ) |
|
|
static |
Returns six values associated to the x, y, z coordinates of the bounding box of the Cell.
- Parameters
-
- Returns
- Six values associated to the x, y, z coordinates of the bounding box of the topological entity
◆ InternalVertex()
Vertex Topologic::Utilities::CellUtility::InternalVertex |
( |
Cell^ |
cell, |
|
|
double |
tolerance |
|
) |
| |
|
static |
Returns a Vertex inside the Cell.
- Parameters
-
cell | A Cell |
tolerance | A positive tolerance value |
- Returns
- A Vertex inside the Cell
◆ Volume()
double Topologic::Utilities::CellUtility::Volume |
( |
Cell^ |
cell | ) |
|
|
static |
Returns the volume of a Cell.
- Parameters
-
- Returns
- The volume of the Cell
The documentation for this class was generated from the following files: