Show / Hide Table of Contents

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 Source

ReferencedObject

A backpointer to the object represented by this item

Declaration
object ReferencedObject { get; }
Property Value
Type Description
System.Object

Methods

| Improve this Doc View Source

GetExtent()

Returns the extent of the two dimensional object

Declaration
BoundingRect GetExtent()
Returns
Type Description
BoundingRect

extent

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX