Triangle Structure |
Namespace: DigitalRune.Geometry.Shapes
The Triangle type exposes the following members.
Name | Description | |
---|---|---|
Triangle(TriangleShape) |
Initializes a new instance of Triangle from a TriangleShape.
| |
Triangle(Vector3F, Vector3F, Vector3F) |
Initializes a new instance of Triangle from three points.
|
Name | Description | |
---|---|---|
Equals(Object) | (Overrides ValueTypeEquals(Object).) | |
Equals(Triangle) |
Determines whether the specified Triangle is equal to the current
Triangle.
| |
GetAabb |
Computes the axis-aligned bounding box (AABB) for this triangle positioned in world space
using the given Pose.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | (Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Tests if two Triangles are equal.
| |
Inequality |
Tests if two Triangles are different.
|
Name | Description | |
---|---|---|
Aabb |
Gets the axis-aligned bounding box (AABB) for this triangle.
| |
Item |
Gets or sets the vertex at the specified index.
| |
Normal |
Gets the normal.
|
This is a lightweight structure. To define a triangle shape for IGeometricObject use TriangleShape.
Two Triangles are considered as equal if they contain the same vertices in the same order.