[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: (


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


 All Members  Methods  



 XNA Framework Only 

 .NET Compact Framework Only 

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!)


Static methods are thread safe.

Inheritance Hierarchy


See Also