[This is preliminary documentation and is subject to change.]

Provides various 3D triangle utility methods.

Namespace: org.critterai.geom
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static class Triangle3
Public NotInheritable Class Triangle3
public ref class Triangle3 abstract sealed

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GetArea(Vector3, Vector3, Vector3)
Returns the area of the triangle ABC. (Costly method!)
GetAreaComp(Vector3, Vector3, Vector3)
Returns a value suitable for comparing the relative area of two triangles. (E.g. Is triangle A larger than triangle B.)
GetNormal(array<Vector3>[]()[][], Int32)
Returns the normal for the triangle. (Costly method!)
GetNormal(Vector3, Vector3, Vector3)
Returns the normal for the triangle. (Costly method!)

Remarks

Static methods are thread safe.

Inheritance Hierarchy

System..::..Object
  org.critterai.geom..::..Triangle3

See Also