|
EdgeLinesFactoryCreateEdgeLineIndices Method |
CreateEdgeLineIndices method returns list of positions indices that define the edge lines for the specified positions and triangleIndices.
The edge lines are created if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public List<int> CreateEdgeLineIndices(
Vector3[] positions,
int[] triangleIndices,
float edgeStartAngleInDegrees
)
Parameters
- positions Vector3
- array of Vector3 items that defined the mesh positions
- triangleIndices Int32
- array of int values that define the triangle indices
- edgeStartAngleInDegrees Single
- if angle in degrees between two adjacent triangles is bigger then the specified edgeStartAngleInDegrees, then an edge line is created between triangles.
Return Value
ListInt32list of int values that define the edge lines - each item in the list is an index for the specified positions array
See Also