EdgeUtility includes geometric methods relevant to an Edge.
More...
#include <EdgeUtility.h>
|
static Edge ^ | ByVertices (System::Collections::Generic::IEnumerable< Vertex^>^ vertices) |
| Creates an Edge (of any type) by a set of Vertices. More...
|
|
static Edge ^ | ByCircle (Vertex^ centerPoint, double radius, double xAxisX, double xAxisY, double xAxisZ, double normalX, double normalY, double normalZ) |
| Creates an Edge by a circle. More...
|
|
static Edge ^ | ByEllipse (Vertex^ centerPoint, double majorRadius, double minorRadius, double xAxisX, double xAxisY, double xAxisZ, double normalX, double normalY, double normalZ) |
| Creates an Edge by an ellipse. More...
|
|
static Edge ^ | ByNurbsCurve (List< Vertex^>^ controlPoints, List< double >^ knots, List< double >^ weights, int degree, bool isPeriodic, bool isRational) |
| Creates an Edge by a NURBS curve. More...
|
|
static double | ParameterAtVertex (Edge^ edge, Vertex^ vertex) |
| Returns the parameter at a given Vertex on the Edge. More...
|
|
static Vertex ^ | VertexAtParameter (Edge^ edge, double u) |
| Returns the Vertex at a given parameter of the Edge. More...
|
|
static List< Wire^> ^ | AdjacentWires (Edge^ edge, Topology^ parentTopology) |
| Returns a list of Wires that are the adjacent to the input Edge. More...
|
|
EdgeUtility includes geometric methods relevant to an Edge.
◆ AdjacentWires()
List< Wire^> Topologic::Utilities::EdgeUtility::AdjacentWires |
( |
Edge^ |
edge, |
|
|
Topology^ |
parentTopology |
|
) |
| |
|
static |
Returns a list of Wires that are the adjacent to the input Edge.
- Parameters
-
- Returns
- A list of Wires adjacent to the input edge
◆ ByCircle()
Edge Topologic::Utilities::EdgeUtility::ByCircle |
( |
Vertex^ |
centerPoint, |
|
|
double |
radius, |
|
|
double |
xAxisX, |
|
|
double |
xAxisY, |
|
|
double |
xAxisZ, |
|
|
double |
normalX, |
|
|
double |
normalY, |
|
|
double |
normalZ |
|
) |
| |
|
static |
Creates an Edge by a circle.
- Parameters
-
centerPoint | The center point of the circle |
radius | The radius of the circle |
xAxisX | The starting X value of the circle on the X axis |
xAxisY | The starting X value of the circle on the Y axis |
xAxisZ | The starting X value of the circle on the Z axis |
normalX | The X component of the circle's normal |
normalY | The Y component of the circle's normal |
normalZ | The Z component of the circle's normal |
- Returns
- The created Edge
◆ ByEllipse()
Edge Topologic::Utilities::EdgeUtility::ByEllipse |
( |
Vertex^ |
centerPoint, |
|
|
double |
majorRadius, |
|
|
double |
minorRadius, |
|
|
double |
xAxisX, |
|
|
double |
xAxisY, |
|
|
double |
xAxisZ, |
|
|
double |
normalX, |
|
|
double |
normalY, |
|
|
double |
normalZ |
|
) |
| |
|
static |
Creates an Edge by an ellipse.
- Parameters
-
centerPoint | The center point of the ellipse |
majorRadius | The major radius of the ellipse |
minorRadius | The minor radius of the ellipse |
xAxisX | The starting X value of the ellipse on the X axis |
xAxisY | The starting X value of the ellipse on the Y axis |
xAxisZ | The starting X value of the ellipse on the Z axis |
normalX | The X component of the ellipse's normal |
normalY | The Y component of the ellipse's normal |
normalZ | The Z component of the ellipse's normal |
- Returns
- The created Edge
◆ ByNurbsCurve()
Edge Topologic::Utilities::EdgeUtility::ByNurbsCurve |
( |
List< Vertex^>^ |
controlPoints, |
|
|
List< double >^ |
knots, |
|
|
List< double >^ |
weights, |
|
|
int |
degree, |
|
|
bool |
isPeriodic, |
|
|
bool |
isRational |
|
) |
| |
|
static |
Creates an Edge by a NURBS curve.
- Parameters
-
controlPoints | A list of control points |
knots | A list of knots |
weights | A list of weights |
degree | The degree |
isPeriodic | True if it is periodic, otherwise false |
isRational | True if it is rational, otherwise false |
- Returns
- The created Edge
◆ ByVertices()
Edge Topologic::Utilities::EdgeUtility::ByVertices |
( |
System::Collections::Generic::IEnumerable< Vertex^>^ |
vertices | ) |
|
|
static |
Creates an Edge (of any type) by a set of Vertices.
- Parameters
-
vertices | A set of Vertices |
- Returns
- The created Edge
◆ ParameterAtVertex()
double Topologic::Utilities::EdgeUtility::ParameterAtVertex |
( |
Edge^ |
edge, |
|
|
Vertex^ |
vertex |
|
) |
| |
|
static |
Returns the parameter at a given Vertex on the Edge.
- Parameters
-
edge | The Edge |
vertex | The Vertex at which the parameter is sought |
- Returns
- The parameter at a given Vertex on the Edge
◆ VertexAtParameter()
Vertex Topologic::Utilities::EdgeUtility::VertexAtParameter |
( |
Edge^ |
edge, |
|
|
double |
u |
|
) |
| |
|
static |
Returns the Vertex at a given parameter of the Edge.
- Parameters
-
edge | The Edge for which the parameter is given |
u | The U parametric coordinate of the Vertex on the Edge |
- Returns
- The Vertex at a given parameter of the Edge
The documentation for this class was generated from the following files: