Show / Hide Table of Contents

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()
Namespace: CADability
Assembly: CADability.dll
Syntax
public class QuadTree : IEnumerable

Constructors

| Improve this Doc View Source

QuadTree()

Declaration
public QuadTree()
| Improve this Doc View Source

QuadTree(BoundingRect)

Erzeugt einen neuen QuadTree, dessen (anfängliche) Ausdehnung gegeben ist.

Declaration
public QuadTree(BoundingRect InitialRect)
Parameters
Type Name Description
BoundingRect InitialRect

Fields

| Improve this Doc View Source

DirectMode

Declaration
public bool DirectMode
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

InitialCenter

Declaration
public GeoPoint2D InitialCenter
Field Value
Type Description
GeoPoint2D
| Improve this Doc View Source

InitialSize

Declaration
public double InitialSize
Field Value
Type Description
System.Double
| Improve this Doc View Source

MaxDeepth

Declaration
public int MaxDeepth
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MaxListLen

Declaration
public int MaxListLen
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
Type Description
BoundingRect

Methods

| Improve this Doc View Source

AddObject(IQuadTreeInsertable)

Declaration
public void AddObject(IQuadTreeInsertable ObjectToAdd)
Parameters
Type Name Description
IQuadTreeInsertable ObjectToAdd
| Improve this Doc View Source

Compact()

Declaration
public void Compact()
| Improve this Doc View Source

DebugPrint()

Declaration
public void DebugPrint()
| 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
Type Name Description
IQuadTreeInsertable CloseToThis
Returns
Type Description
System.Collections.ICollection
| Improve this Doc View Source

GetObjectsFromRect(BoundingRect)

Declaration
public ICollection GetObjectsFromRect(BoundingRect r)
Parameters
Type Name Description
BoundingRect r
Returns
Type Description
System.Collections.ICollection
| Improve this Doc View Source

GetObjectsInsideRect(BoundingRect)

Declaration
public ICollection GetObjectsInsideRect(BoundingRect r)
Parameters
Type Name Description
BoundingRect r
Returns
Type Description
System.Collections.ICollection
| Improve this Doc View Source

RemoveObject(IQuadTreeInsertable)

Declaration
public void RemoveObject(IQuadTreeInsertable ObjectToRemove)
Parameters
Type Name Description
IQuadTreeInsertable ObjectToRemove

Implements

System.Collections.IEnumerable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX