C# Class TerrainDisplay.Collision.OCTree.OCTreeNode

Datei anzeigen Open project: WCell/WCell-Terrain Class Usage Examples

Public Properties

Property Type Description
Bounds BoundingBox
Center Vector3
Children TerrainDisplay.Collision.OCTree.OCTreeNode[]
Indices int[]
Planes Plane[]
Vertices Vector3[]

Public Methods

Method Description
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

Method Details

GetIntersectingNodes() public method

public GetIntersectingNodes ( BoundingBox &bbox, List &nodes ) : bool
bbox BoundingBox
nodes List
return bool

GetIntersectingNodes() public method

public GetIntersectingNodes ( BoundingSphere &sphere, List &nodes ) : bool
sphere BoundingSphere
nodes List
return bool

GetIntersectingPolygon() public method

public GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &closest ) : bool
ray Ray
closest OCTreeIntersection
return bool

GetIntersectingPolygons() public method

public GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &nodes ) : bool
sphere BoundingSphere
velocityNormal Vector3
nodes List
return bool

GetIntersection() public method

public GetIntersection ( BoundingSphere &sphere, Vector3 &velocityNormal, int polyIndex, OCTreeIntersection &intersection ) : bool
sphere BoundingSphere
velocityNormal Vector3
polyIndex int
intersection OCTreeIntersection
return bool

UpdateIntersection() public method

public UpdateIntersection ( OCTreeIntersection &intersection, BoundingSphere &sphere, Vector3 &velocityNormal ) : bool
intersection OCTreeIntersection
sphere BoundingSphere
velocityNormal Vector3
return bool

Property Details

Bounds public_oe property

public BoundingBox Bounds
return BoundingBox

Center public_oe property

public Vector3 Center
return Vector3

Children public_oe property

public OCTreeNode[],TerrainDisplay.Collision.OCTree Children
return TerrainDisplay.Collision.OCTree.OCTreeNode[]

Indices public_oe property

public int[] Indices
return int[]

Planes public_oe property

public Plane[] Planes
return Plane[]

Vertices public_oe property

public Vector3[] Vertices
return Vector3[]