CADability dotNET

The Model type exposes the following members.

Methods

  NameDescription
Public methodAdd(GeoObjectList)
Adds multiple GeoObjects to this model.
Public methodAdd(IGeoObject)
Adds an object to this model. If the model is beeing displayed the object will appear in the view immediately.
Public methodAdd(array<IGeoObject>[]()[][])
Adds multiple GeoObjects to this model.
Public methodAdjustPoint(SnapPointFinder, Set<(Of <<'(Layer>)>>))
Searches for the best point in this model which corresponds to the mouse position and the active snap modes. Mouse position and snap modes are contained in the spf parameter, where also the result is returned
Public methodAdjustPoint(SnapPointFinder, Projection, Set<(Of <<'(Layer>)>>))
Adjusts the point defined by spf (SourcePoint and Projection) according to the settings of spf (SnapPointFinder..::..SnapModes and other properties) by checking all objects in the visibleLayers. As a result SnapPoint and DidSnap will be set.
Public methodClearDisplayLists
Deprecated, still public for legacy reasons.
Protected methodFinalize (Overrides Object..::..Finalize()()()().)
Public methodGetContextMenu (Overrides IShowPropertyImpl..::..GetContextMenu()()()().)
Public methodGetExtent
Returns a 2 dimensional bounding rctangle enclosing the projection of all GeoObjects of the model.
Public methodGetObjectsFromBox
Returns all objects of the model that are inside ore close to the provided box.
Public methodGetObjectsFromRect(Projection..::..PickArea, Set<(Of <<'(Layer>)>>), PickMode, FilterList)
Returns all objects of the model that are touched by the area, whos layers are in the visibleLayers set and which are accepted by the filterList.
Public methodGetObjectsFromRect(BoundingRect, Projection, Set<(Of <<'(Layer>)>>), PickMode, FilterList)
Returns all objects of the model that are touched by the pickrect, whos layers are in the visibleLayers set and which are accepted by the filterList.
Public methodIsAttributeUsed
Determins whether an attribute (e.g. Layer, [!:LineStyle]) is used by any GeoObjects of this model.
Public methodLabelChanged (Overrides IShowPropertyImpl..::..LabelChanged(String).)
Public methodMoveToBack
Public methodMoveToFront
Public methodRemove(GeoObjectList)
Removes a list of GeoObjects from this model. Objects that dont belong to the model will be ignored.
Public methodRemove(IGeoObject)
Removes a GeoObject from the model. If the GeoObject doesnt belong to this model it will be ignored.
Public methodRemove(array<IGeoObject>[]()[][])
Removes an array of GeoObjects from this model. Objects that dont belong to the model will be ignored.
Public methodRemoveAll
Remove all objects from this model.
Public methodRemoveSolid
Removes the given solid from all other solids in the model. If there are no solids in the model or this solid is disjoint with all other solids in the model there will be no effect.
Public methodUniteSolid
Unites the given solid with all other solids in the model. If there are no other solids or the solid is disjoint with all other solids this solid will simply bee added.

Explicit Interface Implementations

See Also