Package empro :: Module empro :: Module geometry :: Class Triangle
[frames] | no frames]

Class Triangle

A triangle defined in 3D space.

Class Hierarchy for Triangle
Class Hierarchy for Triangle

constructor Triangle(): Creates an empty triangle. constructor Triangle(iPoint1, iPoint2, iPoint3):

constructor Triangle(iPoint1, iPoint2, iPoint3, iDoubleSided):

Instance Methods
bool
isDoubleSided()
Returns True when the triangle is double sided.
bool
isValid()
Returns True when the triangle is valid.
Vector3d
normal()
Returns the normal of the triangle.