CADability dotNET
The Model type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add(GeoObjectList) |
Adds multiple GeoObjects to this model.
| |
Add(IGeoObject) |
Adds an object to this model. If the model is beeing displayed the object will appear in the view
immediately.
| |
Add(array<IGeoObject>[]()[][]) |
Adds multiple GeoObjects to this model.
| |
AdjustPoint(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
| |
AdjustPoint(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.
| |
ClearDisplayLists |
Deprecated, still public for legacy reasons.
| |
Finalize | (Overrides Object..::..Finalize()()()().) | |
GetContextMenu |
Overrides GetContextMenu()()()() (Overrides IShowPropertyImpl..::..GetContextMenu()()()().) | |
GetExtent |
Returns a 2 dimensional bounding rctangle enclosing the projection of all GeoObjects of the model.
| |
GetObjectsFromBox |
Returns all objects of the model that are inside ore close to the provided box.
| |
GetObjectsFromRect(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.
| |
GetObjectsFromRect(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.
| |
IsAttributeUsed |
Determins whether an attribute (e.g. Layer, [!:LineStyle]) is used by any GeoObjects of this model.
| |
LabelChanged |
Overrides LabelChanged(String) (Overrides IShowPropertyImpl..::..LabelChanged(String).) | |
MoveToBack | ||
MoveToFront | ||
Remove(GeoObjectList) |
Removes a list of GeoObjects from this model. Objects that dont belong to the model will be ignored.
| |
Remove(IGeoObject) |
Removes a GeoObject from the model. If the GeoObject doesnt belong to this model it will be ignored.
| |
Remove(array<IGeoObject>[]()[][]) |
Removes an array of GeoObjects from this model. Objects that dont belong to the model will be ignored.
| |
RemoveAll |
Remove all objects from this model.
| |
RemoveSolid |
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.
| |
UniteSolid |
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.
|