CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Returns the triangulation of this face to the provided precision.
trianglePoint and triangleUVPoint are two arrays of the same length specifying the
vertices of the triangle in 3d or 2d surface coordinates. triangleIndex is a list of indizes to
trianglePoint and triangleUVPoint where each triple of indices describes one triangle. The length of triangleIndex is a multiple of 3.
Namespace: CADability.GeoObjectAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public void GetTriangulation( double precision, out GeoPoint[] trianglePoint, out GeoPoint2D[] triangleUVPoint, out int[] triangleIndex, out BoundingCube triangleExtent ) |
Visual Basic |
---|
Public Sub GetTriangulation ( _ precision As Double, _ <OutAttribute> ByRef trianglePoint As GeoPoint(), _ <OutAttribute> ByRef triangleUVPoint As GeoPoint2D(), _ <OutAttribute> ByRef triangleIndex As Integer(), _ <OutAttribute> ByRef triangleExtent As BoundingCube _ ) |
Visual C++ |
---|
public: void GetTriangulation( double precision, [OutAttribute] array<GeoPoint>^% trianglePoint, [OutAttribute] array<GeoPoint2D>^% triangleUVPoint, [OutAttribute] array<int>^% triangleIndex, [OutAttribute] BoundingCube% triangleExtent ) |
Parameters
- precision
- Type: System..::..Double
Required precision
- trianglePoint
- Type: array<CADability..::..GeoPoint>[]()[][]%
Resulting 3d points
- triangleUVPoint
- Type: array<CADability..::..GeoPoint2D>[]()[][]%
Resulting 2d points
- triangleIndex
- Type: array<System..::..Int32>[]()[][]%
Triangle indizes
- triangleExtent
- Type: CADability..::..BoundingCube%
Extent of the triangles