Class QuadTree
A QuadTree of 2-dimensional objects that implement IQuadTreeInsertable.
This Class might change in future, so the use of this class is deprecated
Inheritance
System.Object
QuadTree
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
public class QuadTree : IEnumerable
Constructors
|
Improve this Doc
View Source
QuadTree()
Declaration
|
Improve this Doc
View Source
QuadTree(BoundingRect)
Erzeugt einen neuen QuadTree, dessen (anfängliche) Ausdehnung gegeben ist.
Declaration
public QuadTree(BoundingRect InitialRect)
Parameters
Fields
|
Improve this Doc
View Source
DirectMode
Declaration
Field Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
InitialCenter
Declaration
public GeoPoint2D InitialCenter
Field Value
|
Improve this Doc
View Source
InitialSize
Declaration
public double InitialSize
Field Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
MaxDeepth
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
MaxListLen
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
|
Improve this Doc
View Source
Size
Returns a BoundingRect that contains all objects in this QuadTree and is between the exact extent and the linear double of this extent.
Declaration
public BoundingRect Size { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddObject(IQuadTreeInsertable)
Declaration
public void AddObject(IQuadTreeInsertable ObjectToAdd)
Parameters
|
Improve this Doc
View Source
Compact()
Declaration
|
Improve this Doc
View Source
DebugPrint()
Declaration
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
GetObjectsCloseTo(IQuadTreeInsertable)
Declaration
public ICollection GetObjectsCloseTo(IQuadTreeInsertable CloseToThis)
Parameters
Returns
| Type |
Description |
| System.Collections.ICollection |
|
|
Improve this Doc
View Source
GetObjectsFromRect(BoundingRect)
Declaration
public ICollection GetObjectsFromRect(BoundingRect r)
Parameters
Returns
| Type |
Description |
| System.Collections.ICollection |
|
|
Improve this Doc
View Source
GetObjectsInsideRect(BoundingRect)
Declaration
public ICollection GetObjectsInsideRect(BoundingRect r)
Parameters
Returns
| Type |
Description |
| System.Collections.ICollection |
|
|
Improve this Doc
View Source
RemoveObject(IQuadTreeInsertable)
Declaration
public void RemoveObject(IQuadTreeInsertable ObjectToRemove)
Parameters
Implements
System.Collections.IEnumerable