CADability dotNET
The IGeoObjectImpl type exposes the following members.
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.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable..::..Clone |