FaceUtility includes geometric methods relevant to a Face.
More...
#include <FaceUtility.h>
|
static double | Area (Face^ face) |
| Returns the area of a Face. More...
|
|
static Face ^ | ByVertices (System::Collections::Generic::IEnumerable< System::Collections::Generic::IEnumerable< Vertex^>^>^ vertices) |
| Creates a Face (of any type) by a set of Vertices. More...
|
|
static List< double > ^ | ParametersAtVertex (Face^ face, Vertex^ vertex) |
| Returns the UV parameters at a given Vertex on a Face. More...
|
|
static List< double > ^ | NormalAtParameters (Face^ face, double u, double v) |
| Returns the normal (vector) given the UV parameters of a Face. More...
|
|
static Vertex ^ | VertexAtParameters (Face^ face, double u, double v) |
| Returns the Vertex at a given parameter of the Face. More...
|
|
static Face ^ | TrimByWire (Face^ face, Wire^ wire, bool reverseWire) |
| Trims a Face with a Wire. The portion of the Face inside the Wire will be returned. More...
|
|
static List< Face^> ^ | Triangulate (Face^ face, double deflection) |
| Triangulates a Face given a deflection value. More...
|
|
static List< Shell^> ^ | AdjacentShells (Face^ face, Topology^ parentTopology) |
| Returns a list of Shells that are the adjacent to the input Face. More...
|
|
static List< Cell^> ^ | AdjacentCells (Face^ face, Topology^ parentTopology) |
| Returns a list of Cells that are the adjacent to the input Face. More...
|
|
static Vertex ^ | InternalVertex (Face^ face, double tolerance) |
| Returns a Vertex inside the Face. More...
|
|
static bool | IsInside (Face^ face, Vertex^ vertex, double tolerance) |
| Checks if a Vertex is located inside a Face within a tolerance value. More...
|
|
FaceUtility includes geometric methods relevant to a Face.
◆ AdjacentCells()
List< Cell^> Topologic::Utilities::FaceUtility::AdjacentCells |
( |
Face^ |
face, |
|
|
Topology^ |
parentTopology |
|
) |
| |
|
static |
Returns a list of Cells that are the adjacent to the input Face.
- Parameters
-
- Returns
- A list of Cells adjacent to the input Face
◆ AdjacentShells()
List< Shell^> Topologic::Utilities::FaceUtility::AdjacentShells |
( |
Face^ |
face, |
|
|
Topology^ |
parentTopology |
|
) |
| |
|
static |
Returns a list of Shells that are the adjacent to the input Face.
- Parameters
-
- Returns
- A list of Shells adjacent to the input Face
◆ Area()
double Topologic::Utilities::FaceUtility::Area |
( |
Face^ |
face | ) |
|
|
static |
Returns the area of a Face.
- Parameters
-
- Returns
- The area of the Face
◆ ByVertices()
Face Topologic::Utilities::FaceUtility::ByVertices |
( |
System::Collections::Generic::IEnumerable< System::Collections::Generic::IEnumerable< Vertex^>^>^ |
vertices | ) |
|
|
static |
Creates a Face (of any type) by a set of Vertices.
- Parameters
-
vertices | A Set of Vertices |
- Returns
- The created Face
◆ InternalVertex()
Vertex Topologic::Utilities::FaceUtility::InternalVertex |
( |
Face^ |
face, |
|
|
double |
tolerance |
|
) |
| |
|
static |
Returns a Vertex inside the Face.
- Parameters
-
face | A Face |
tolerance | A positive tolerance value |
- Returns
- A Vertex inside the Face
◆ IsInside()
bool Topologic::Utilities::FaceUtility::IsInside |
( |
Face^ |
face, |
|
|
Vertex^ |
vertex, |
|
|
double |
tolerance |
|
) |
| |
|
static |
Checks if a Vertex is located inside a Face within a tolerance value.
- Parameters
-
face | A Face |
vertex | A Vertex |
tolerance | A positive tolerance value |
- Returns
- True if the Vertex is inside the Face within at tolerance value, otherwise False
◆ NormalAtParameters()
List< double > Topologic::Utilities::FaceUtility::NormalAtParameters |
( |
Face^ |
face, |
|
|
double |
u, |
|
|
double |
v |
|
) |
| |
|
static |
Returns the normal (vector) given the UV parameters of a Face.
- Parameters
-
face | A Face |
u | The U parameter of the Face |
v | The U parameter of the Face |
- Returns
- The normal (vector) at a parameter of a Face
◆ ParametersAtVertex()
List< double > Topologic::Utilities::FaceUtility::ParametersAtVertex |
( |
Face^ |
face, |
|
|
Vertex^ |
vertex |
|
) |
| |
|
static |
Returns the UV parameters at a given Vertex on a Face.
- Parameters
-
- Returns
- The UV parameters
◆ Triangulate()
List< Face^> Topologic::Utilities::FaceUtility::Triangulate |
( |
Face^ |
face, |
|
|
double |
deflection |
|
) |
| |
|
static |
Triangulates a Face given a deflection value.
- Parameters
-
face | The Face to be triangulated |
deflection | The deflection value to be applied for triangulation |
- Returns
- The triangulated Face
◆ TrimByWire()
Face Topologic::Utilities::FaceUtility::TrimByWire |
( |
Face^ |
face, |
|
|
Wire^ |
wire, |
|
|
bool |
reverseWire |
|
) |
| |
|
static |
Trims a Face with a Wire. The portion of the Face inside the Wire will be returned.
- Parameters
-
face | The Face to be trimmed |
wire | The Wire with which the Face will be trimmed |
reverseWire | If true, reverse the orientation of the wire |
- Returns
- The trimmed Face
◆ VertexAtParameters()
Vertex Topologic::Utilities::FaceUtility::VertexAtParameters |
( |
Face^ |
face, |
|
|
double |
u, |
|
|
double |
v |
|
) |
| |
|
static |
Returns the Vertex at a given parameter of the Face.
- Parameters
-
- Returns
- The Vertex at the given parameter of the Face
The documentation for this class was generated from the following files: