CADability dotNET
The IGeoObjectImpl type exposes the following members.
Constructors
Name | Description | |
---|---|---|
IGeoObjectImpl()()()() |
Constructor that initializes some members. Must always be called
| |
IGeoObjectImpl(StreamingContext) | ||
IGeoObjectImpl(SerializationInfo, StreamingContext) |
Constructor required by deserialization
|
Methods
Name | Description | |
---|---|---|
AttributeChanged |
Overrides AttributeChanged(INamedAttribute). Checks all CADability attributes.
Checking your own attributes is left to your code.
| |
ChangingUserData | ||
Child | ||
Clone |
Overrides Clone()()()(). Must be implemented by each GeoObject. No default implementation.
| |
CopyAttributes |
Implements CopyAttributes(IGeoObject). The default implementation handles
all CADability attributes and leaves the handling of non CADability attributes to your code.
| |
CopyGeometry |
Overrides CopyGeometry(IGeoObject), but doesn't implement it.
Must be implemented by each GeoObject.
| |
Decompose |
Decomposes this GeoObject into simpler GeoObjects. May return null if there are no simpler objects.
| |
FindSnapPoint |
Implements FindSnapPoint(SnapPointFinder), but does nothing. Should be overridden.
| |
FireDidChange |
Helper method to rais the DidChangeEvent.
| |
FireWillChange |
Helper method to rais the WillChangeEvent.
| |
Get2DRepresentation |
Implements Get2DRepresentation(Projection, GDIResources) abstract.
Must be overridden.
| |
GetAttributeProperties |
Implements GetAttributeProperties(IFrame). The default implementation returns
ShowProperties for all CADability attributes.
| |
GetBoundingCube |
Implements GetBoundingCube()()()() abstract.
Must be overridden.
| |
GetExtent(Double) | ||
GetExtent(Projection, ExtentPrecision) |
Returns the 2 dimensional extent of objects for a specific projection.
| |
GetExtent(IGeoObject, Projection, Boolean) |
Returns the bounding rectangle of the GeoObject with respect to a specified projection
| |
GetNamedAttribute |
Implements GetNamedAttribute(String). The default implementation handles
all CADability attributes and leaves the handling of non CADability attributes to your code.
| |
GetObjectData | ||
GetQuadTreeItem |
Deprecated.
| |
GetShowProperties |
Should be overridden and return a IShowProperty derived object
that handles the display and modification of the properties of the IGeoObject derived object.
Default implementation return null.
| |
HasChildren |
Overrides HasChildren()()()(). The deafult implementation returns false.
| |
HasValidData |
Default implementation of IGeoObject.HasValidData. Returns true.
Override if the derived object can decide itself.
| |
HitTest(BoundingCube%, Double) | ||
HitTest(Projection..::..PickArea, Boolean) | ||
HitTest(Projection, BoundingRect, Boolean) | ||
IsAttributeUsed |
/// Overrides IsAttributeUsed(Object). The default implementation recursively
calls IsAttributeUsed for all children (if any) and then checks the usage for all
attributes implemented by CADability. No checks are performed for non CADability
attributes. So you can override this method to handle your own attributes and call
the base implementation for CADability attributes.
| |
IsOwnedByBlockRef |
Checks whether the GeoObject is owned by a BlockRef object.
| |
Modify |
Overrides Modify(ModOp). Must be implemented by each GeoObject.
No default implementation.
| |
ModifyInverse |
Modify with the inverse modification. Calls Modify(m.GetInverse());
| |
ModifyWithMouse |
depreciated
| |
PaintTo3D |
Patin the object to th IPaintTo3D interface.
| |
PaintTo3DList | ||
Position | ||
PrePaintTo3D |
Hier kann man Dinge vor OpenList tun (da sie selbst vielleicht ein OpenList benötigen)
| |
PrepareDisplayList |
Called before PaintTo3D(IPaintTo3D) is called, should implement the time consuming work for the display (like calculationg the triangulation
of Faces or Polylines of Curves). Not normally used by user code.
| |
PropagateAttributes |
Sets the provided layer and color to this object and propagates these attributes to the owned objects.
| |
SetColorDef |
Hilfsfunktion zum Setzen der Farbe und gleichzeitig die Events feuern
| |
SetNamedAttribute |
Implements SetNamedAttribute(String, INamedAttribute). The default implementation handles
all CADability attributes and leaves the handling of non CADability attributes to your code.
| |
SetSerializationValue | ||
UpdateAttributes(IAttributeListContainer) |
Implements UpdateAttributes(IAttributeListContainer) for all CADability attributes.
Non CADability attributes are not handled and must be handled if there are any.
| |
UpdateAttributes(array<I2DRepresentation>[]()[][], Projection, GDIResources) |
Implements UpdateAttributes(IAttributeListContainer). Default implementation does nothing.
|
Fields
Name | Description | |
---|---|---|
isChanging |
Each call to FireWillChange(GeoObjectChange) increments this value, each call to
FireDidChange(GeoObjectChange) decrements this value. If isChanging is 0
then the object is in a stable state.
| |
isModifyingWithMouse |
depreciated
|
Properties
Name | Description | |
---|---|---|
Actuator |
Sets or gets the drive assiziated with this GeoObject
| |
Attributes |
Implements Attributes. Returns a collection af all CADability attributes
used by this GeoObject. Non CADability attributes must be handled by your code.
| |
CustomAttributeKeys | ||
Description |
Returns a textual description of the GeoObject. Mainly used for debugging purposes
| |
IsVisible |
Reads or writes the visible flag. Invisible objects ar not displayed.
| |
Layer |
Fully implements Layer. Stores the layer in a private member.
Setting raises the WillChangeEvent and DidChangeEvent.
| |
NumChildren |
Overrides NumChildren. The default implementation returns 0.
| |
OwnedItems |
Returns an array of objects owned by this object. E.g. a face is owned by a shell.
| |
Owner |
Overrides Owner. Fully implements set and get property
and saves the value in a private member.
| |
PreferredStyle |
Returns the preferred style for this objects, see [!:Style.EDefaultFor].
| |
Style |
Fully implements Style. Stores the style in a private member.
Setting raises the WillChangeEvent and DidChangeEvent.
| |
StyleIsValid |
Returns true, if the setting of the style of this object is identical to the
setting of the individual attributes, false otherwise
| |
UniqueId | ||
UserData |
Fully implements UserData. No need to override.
|
Events
Name | Description | |
---|---|---|
DidChangeEvent |
Event that is raised when the GeoObject did change.
| |
FeedBackChangedEvent | ||
GetAdditionalContextMenueEvent | ||
WillChangeEvent |
Event that is raised when the GeoObject is about to change.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable..::..Clone |