 |
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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic 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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.EdgeLinesFactory.CreateEdgeLineIndices(System.Numerics.Vector3[],System.Int32[],System.Single)"]
See Also