C# Class TriangleNet.Tools.QuadNode

A node of the quadtree.
Mostrar archivo Open project: filipkunc/GLGraphics Class Usage Examples

Public Methods

Method Description
CreateSubRegion ( int currentDepth ) : void
FindTriangles ( Point searchPoint ) : List
QuadNode ( TriangleNet.Geometry.BoundingBox box, QuadTree tree ) : System.Collections.Generic
QuadNode ( TriangleNet.Geometry.BoundingBox box, QuadTree tree, bool init ) : System.Collections.Generic

Private Methods

Method Description
AddToRegion ( int index, int region ) : void
AddTriangleToRegion ( Point triangle, int index ) : void
FindIntersectionsWithX ( double dx, double dy, Point triangle, int index, int k ) : void
FindIntersectionsWithY ( double dx, double dy, Point triangle, int index, int k ) : void
FindRegion ( Point point ) : int
FindTriangleIntersections ( Point triangle, int index ) : void

Method Details

CreateSubRegion() public method

public CreateSubRegion ( int currentDepth ) : void
currentDepth int
return void

FindTriangles() public method

public FindTriangles ( Point searchPoint ) : List
searchPoint Point
return List

QuadNode() public method

public QuadNode ( TriangleNet.Geometry.BoundingBox box, QuadTree tree ) : System.Collections.Generic
box TriangleNet.Geometry.BoundingBox
tree QuadTree
return System.Collections.Generic

QuadNode() public method

public QuadNode ( TriangleNet.Geometry.BoundingBox box, QuadTree tree, bool init ) : System.Collections.Generic
box TriangleNet.Geometry.BoundingBox
tree QuadTree
init bool
return System.Collections.Generic