|  | Triangle Structure | 
Namespace: DigitalRune.Geometry.Shapes
 Syntax
SyntaxThe Triangle type exposes the following members.
 Constructors
Constructors| 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.
             | 
 Methods
Methods| 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.) | 
 Operators
Operators| Name | Description | |
|---|---|---|
|   | Equality | 
            Tests if two Triangles are equal.
             | 
|   | Inequality | 
            Tests if two Triangles are different.
             | 
 Fields
Fields Properties
Properties| 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.
             | 
 Remarks
RemarksThis 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.
 See Also
See Also