SolidKit3D.Triangle struct
From Solid Graphics Wiki
| ||||||||||
The Triangle struct specifies a triangle using three points as the triangle corners..
Constructors
Class costructors allow to initialize the an triangle using three point values or a TriangleByRef and a SolidKit3D.Point array.
Fields
| Field name | Type | Description |
| Point0 | SolidKit3D.Point | coordinates of the first triangle corner. |
| Point1 | SolidKit3D.Point | coordinates of the second triangle corner. |
| Point2 | SolidKit3D.Point | coordinates of the third triangle corner. |
Methods
| Method name | Description |
| Area | Calculates the triangle area. |
| Center | Calculates the triangle center point |
| Transform | Transforms the three triangle points using specified matrix. |
See Also
SolidKit Library Documentation
