The Triangle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Triangle(Vector3, Vector3, Vector3) |
Points specified so that pt1-pt0 is edge0 and p2-pt0 is edge1
|
![]() | Triangle(Vector3%, Vector3%, Vector3%) |
Points specified so that pt1-pt0 is edge0 and p2-pt0 is edge1
|
Methods
Name | Description | |
---|---|---|
![]() | Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) |
![]() | GetPoint(Int32) |
Same numbering as in the constructor
|
![]() | GetPoint(Vector3%, Int32) |
Same numbering as in the constructor
|
![]() | GetPoint(Int32, Vector3%) |
Same numbering as in the constructor
|
![]() | GetPoint(Single, Single) |
Returns the point parameterised by t0 and t1
|
![]() | GetSpan(Single%, Single%, Vector3) |
Gets the minimum and maximum extents of the triangle along the axis
|
![]() | GetSpan(Single%, Single%, Vector3%) |
Gets the minimum and maximum extents of the triangle along the axis
|
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Properties
Name | Description | |
---|---|---|
![]() | Centre |
Gets centre
|
![]() | Edge0 |
Gets or Sets edge0
|
![]() | Edge1 |
Gets or Sets edge1
|
![]() | Edge2 |
Edge2 goes from pt1 to pt2
|
![]() | Normal |
Gets the triangle normal. If degenerate it will be normalised, but
the direction may be wrong!
|
![]() | Origin |
Gets or Sets origin
|
![]() | Plane |
Gets the plane containing the triangle
|