Interface IQuadTreeInsertable
Ein Interface für Objekte, die in einen QuadTree eingefügt werden können. Der QuadTree kann also nicht nur IGeoObject Objekte aufnehmen, sondern alle Objekte, die IQuadTreeInsertable unterstützen.
Namespace: CADability
Assembly: CADability.dll
Syntax
public interface IQuadTreeInsertable
Properties
| Improve this Doc View SourceReferencedObject
A backpointer to the object represented by this item
Declaration
object ReferencedObject { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Methods
| Improve this Doc View SourceGetExtent()
Returns the extent of the two dimensional object
Declaration
BoundingRect GetExtent()
Returns
| Type | Description |
|---|---|
| BoundingRect | extent |
HitTest(ref BoundingRect, Boolean)
Determins whether the rectangle rect coincides with the object
Declaration
bool HitTest(ref BoundingRect rect, bool includeControlPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| BoundingRect | rect | testing rectangle |
| System.Boolean | includeControlPoints | also check control points (e.g. spline control points, circle center) |
Returns
| Type | Description |
|---|---|
| System.Boolean | true, if coinciding, false otherwise |