C# Class idTech4.Geometry.idWinding

A winding is an arbitrary convex polygon defined by an array of points.
Mostra file Open project: iainmckay/idtech4.net Class Usage Examples

Protected Properties

Property Type Description
_pointCount int
_points ].float[

Public Methods

Method Description
ClipInPlace ( Plane plane, float epsilon = idE.OnPlaneEpsilon, bool keepOn = false ) : bool

Cuts off the part at the back side of the plane, returns true if some part was at the front. If there is nothing at the front the number of points is set to zero.

GetPlane ( ) : Plane
Reverse ( ) : idWinding
idWinding ( ) : System
idWinding ( int pointCount ) : System
this ( int x ) : Vector3
this ( int x, int y ) : float

Method Details

ClipInPlace() public method

Cuts off the part at the back side of the plane, returns true if some part was at the front. If there is nothing at the front the number of points is set to zero.
public ClipInPlace ( Plane plane, float epsilon = idE.OnPlaneEpsilon, bool keepOn = false ) : bool
plane Plane
epsilon float
keepOn bool
return bool

GetPlane() public method

public GetPlane ( ) : Plane
return Plane

Reverse() public method

public Reverse ( ) : idWinding
return idWinding

idWinding() public method

public idWinding ( ) : System
return System

idWinding() public method

public idWinding ( int pointCount ) : System
pointCount int
return System

this() public method

public this ( int x ) : Vector3
x int
return Vector3

this() public method

public this ( int x, int y ) : float
x int
y int
return float

Property Details

_pointCount protected_oe property

protected int _pointCount
return int

_points protected_oe property

protected float[,] _points
return ].float[