C# Class idTech4.Geometry.idWinding

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

Protected Properties

Свойство Type Description
_pointCount int
_points ].float[

Méthodes publiques

Méthode 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 méthode

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
Résultat bool

GetPlane() public méthode

public GetPlane ( ) : Plane
Résultat Plane

Reverse() public méthode

public Reverse ( ) : idWinding
Résultat idWinding

idWinding() public méthode

public idWinding ( ) : System
Résultat System

idWinding() public méthode

public idWinding ( int pointCount ) : System
pointCount int
Résultat System

this() public méthode

public this ( int x ) : Vector3
x int
Résultat Vector3

this() public méthode

public this ( int x, int y ) : float
x int
y int
Résultat float

Property Details

_pointCount protected_oe property

protected int _pointCount
Résultat int

_points protected_oe property

protected float[,] _points
Résultat ].float[