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

Provides various 3D polygon 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 Polygon3
Public NotInheritable Class Polygon3
public ref class Polygon3 abstract sealed

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GetCentroid(array<Vector3>[]()[][])
Returns the centroid of a convex polygon.
GetCentroid(array<Vector3>[]()[][], Int32, Int32)
Returns the centroid of a convex polygon.
GetCentroid(array<Vector3>[]()[][], Int32, Int32, array<Vector3>[]()[][], Int32)
Returns the centroid of a convex polygon.
IsConvex(array<Vector3>[]()[][], Int32, Int32)
Determines whether a polygon is convex.

Remarks

Unless otherwise noted, methods expect all polygon vertices to be co-planar.

Static methods are thread safe.

Inheritance Hierarchy

System..::..Object
  org.critterai.geom..::..Polygon3

See Also