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

EdgeUtility includes geometric methods relevant to an Edge. More...

#include <EdgeUtility.h>

Static Public Member Functions

static EdgeByVertices (System::Collections::Generic::IEnumerable< Vertex^>^ vertices)
 Creates an Edge (of any type) by a set of Vertices. More...
 
static EdgeByCircle (Vertex^ centerPoint, double radius, double xAxisX, double xAxisY, double xAxisZ, double normalX, double normalY, double normalZ)
 Creates an Edge by a circle. More...
 
static EdgeByEllipse (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 EdgeByNurbsCurve (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 VertexVertexAtParameter (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...
 

Detailed Description

EdgeUtility includes geometric methods relevant to an Edge.

Member Function Documentation

◆ 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
edgeAn Edge
parentTopologyA parent Topology
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
centerPointThe center point of the circle
radiusThe radius of the circle
xAxisXThe starting X value of the circle on the X axis
xAxisYThe starting X value of the circle on the Y axis
xAxisZThe starting X value of the circle on the Z axis
normalXThe X component of the circle's normal
normalYThe Y component of the circle's normal
normalZThe 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
centerPointThe center point of the ellipse
majorRadiusThe major radius of the ellipse
minorRadiusThe minor radius of the ellipse
xAxisXThe starting X value of the ellipse on the X axis
xAxisYThe starting X value of the ellipse on the Y axis
xAxisZThe starting X value of the ellipse on the Z axis
normalXThe X component of the ellipse's normal
normalYThe Y component of the ellipse's normal
normalZThe 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
controlPointsA list of control points
knotsA list of knots
weightsA list of weights
degreeThe degree
isPeriodicTrue if it is periodic, otherwise false
isRationalTrue 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
verticesA 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
edgeThe Edge
vertexThe 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
edgeThe Edge for which the parameter is given
uThe 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: