C# Класс idTech4.Geometry.idWinding

A winding is an arbitrary convex polygon defined by an array of points.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_pointCount int
_points ].float[

Открытые методы

Метод Описание
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

Описание методов

ClipInPlace() публичный Метод

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
Результат bool

GetPlane() публичный Метод

public GetPlane ( ) : Plane
Результат Plane

Reverse() публичный Метод

public Reverse ( ) : idWinding
Результат idWinding

idWinding() публичный Метод

public idWinding ( ) : System
Результат System

idWinding() публичный Метод

public idWinding ( int pointCount ) : System
pointCount int
Результат System

this() публичный Метод

public this ( int x ) : Vector3
x int
Результат Vector3

this() публичный Метод

public this ( int x, int y ) : float
x int
y int
Результат float

Описание свойств

_pointCount защищенное свойство

protected int _pointCount
Результат int

_points защищенное свойство

protected float[,] _points
Результат ].float[