The Triangle type exposes the following members.

Constructors

  NameDescription
Public methodTriangle(Vector3, Vector3, Vector3)
Points specified so that pt1-pt0 is edge0 and p2-pt0 is edge1
Public methodTriangle(Vector3%, Vector3%, Vector3%)
Points specified so that pt1-pt0 is edge0 and p2-pt0 is edge1

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetPoint(Int32)
Same numbering as in the constructor
Public methodGetPoint(Vector3%, Int32)
Same numbering as in the constructor
Public methodGetPoint(Int32, Vector3%)
Same numbering as in the constructor
Public methodGetPoint(Single, Single)
Returns the point parameterised by t0 and t1
Public methodGetSpan(Single%, Single%, Vector3)
Gets the minimum and maximum extents of the triangle along the axis
Public methodGetSpan(Single%, Single%, Vector3%)
Gets the minimum and maximum extents of the triangle along the axis
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Properties

  NameDescription
Public propertyCentre
Gets centre
Public propertyEdge0
Gets or Sets edge0
Public propertyEdge1
Gets or Sets edge1
Public propertyEdge2
Edge2 goes from pt1 to pt2
Public propertyNormal
Gets the triangle normal. If degenerate it will be normalised, but the direction may be wrong!
Public propertyOrigin
Gets or Sets origin
Public propertyPlane
Gets the plane containing the triangle

See Also