C# Класс TerrainDisplay.Collision.OCTree.OCTreeNode

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Bounds BoundingBox
Center Vector3
Children TerrainDisplay.Collision.OCTree.OCTreeNode[]
Indices int[]
Planes Plane[]
Vertices Vector3[]

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

Метод Описание
GetIntersectingNodes ( BoundingBox &bbox, List &nodes ) : bool
GetIntersectingNodes ( BoundingSphere &sphere, List &nodes ) : bool
GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &closest ) : bool
GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &nodes ) : bool
GetIntersection ( BoundingSphere &sphere, Vector3 &velocityNormal, int polyIndex, OCTreeIntersection &intersection ) : bool
UpdateIntersection ( OCTreeIntersection &intersection, BoundingSphere &sphere, Vector3 &velocityNormal ) : bool

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

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

public GetIntersectingNodes ( BoundingBox &bbox, List &nodes ) : bool
bbox BoundingBox
nodes List
Результат bool

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

public GetIntersectingNodes ( BoundingSphere &sphere, List &nodes ) : bool
sphere BoundingSphere
nodes List
Результат bool

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

public GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &closest ) : bool
ray Ray
closest OCTreeIntersection
Результат bool

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

public GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &nodes ) : bool
sphere BoundingSphere
velocityNormal Vector3
nodes List
Результат bool

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

public GetIntersection ( BoundingSphere &sphere, Vector3 &velocityNormal, int polyIndex, OCTreeIntersection &intersection ) : bool
sphere BoundingSphere
velocityNormal Vector3
polyIndex int
intersection OCTreeIntersection
Результат bool

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

public UpdateIntersection ( OCTreeIntersection &intersection, BoundingSphere &sphere, Vector3 &velocityNormal ) : bool
intersection OCTreeIntersection
sphere BoundingSphere
velocityNormal Vector3
Результат bool

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

Bounds публичное свойство

public BoundingBox Bounds
Результат BoundingBox

Center публичное свойство

public Vector3 Center
Результат Vector3

Children публичное свойство

public OCTreeNode[],TerrainDisplay.Collision.OCTree Children
Результат TerrainDisplay.Collision.OCTree.OCTreeNode[]

Indices публичное свойство

public int[] Indices
Результат int[]

Planes публичное свойство

public Plane[] Planes
Результат Plane[]

Vertices публичное свойство

public Vector3[] Vertices
Результат Vector3[]