 |
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: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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
See Also