From Solid Graphics Wiki
(diff) ←Older revision  Current revision (diff)  Newer revision→ (diff)
The Triangle class specifies a triangle using three point class values as the triangle corners..
Constructors
Default class constructor does not initialize the triangle point values to any value. This is on purpose for performance reasons. Other class costructors allow to initialize the an triangle using three point values or a TriangleByRef and PointList instance.
Fields
Field name
 Type
 Description

point
 Point[ 3 ]
 array of the three triangle's point corners.

Methods
Area
 Calculates the triangle area.

Center
 Calculates the triangle center point

Edge
 Returns specified triangle edge as LineSegment.

Transform
 Transforms the three triangle points using specified matrix.

Operators
=
 Allows assignment of one triangle to another.

See Also
SolidKit Library Documentation