CADability dotNET

The IGeoObjectImpl type exposes the following members.

Constructors

  NameDescription
Protected methodIGeoObjectImpl()()()()
Constructor that initializes some members. Must always be called
Protected methodIGeoObjectImpl(StreamingContext)
Protected methodIGeoObjectImpl(SerializationInfo, StreamingContext)
Constructor required by deserialization

Methods

  NameDescription
Public methodAttributeChanged
Overrides AttributeChanged(INamedAttribute). Checks all CADability attributes. Checking your own attributes is left to your code.
Public methodStatic memberChangingUserData
Public methodChild
Overrides Child(Int32). The default implementation throws a GeoObjectExceptionNoChildren.
Public methodClone
Overrides Clone()()()(). Must be implemented by each GeoObject. No default implementation.
Public methodCopyAttributes
Implements CopyAttributes(IGeoObject). The default implementation handles all CADability attributes and leaves the handling of non CADability attributes to your code.
Public methodCopyGeometry
Overrides CopyGeometry(IGeoObject), but doesn't implement it. Must be implemented by each GeoObject.
Public methodDecompose
Decomposes this GeoObject into simpler GeoObjects. May return null if there are no simpler objects.
Public methodFindSnapPoint
Implements FindSnapPoint(SnapPointFinder), but does nothing. Should be overridden.
Protected methodFireDidChange
Helper method to rais the DidChangeEvent.
Protected methodFireWillChange
Helper method to rais the WillChangeEvent.
Public methodGet2DRepresentation
Implements Get2DRepresentation(Projection, GDIResources) abstract. Must be overridden.
Public methodGetAttributeProperties
Implements GetAttributeProperties(IFrame). The default implementation returns ShowProperties for all CADability attributes.
Public methodGetBoundingCube
Implements GetBoundingCube()()()() abstract. Must be overridden.
Public methodGetExtent(Double)
Public methodGetExtent(Projection, ExtentPrecision)
Returns the 2 dimensional extent of objects for a specific projection.
Public methodStatic memberGetExtent(IGeoObject, Projection, Boolean)
Returns the bounding rectangle of the GeoObject with respect to a specified projection
Public methodGetNamedAttribute
Implements GetNamedAttribute(String). The default implementation handles all CADability attributes and leaves the handling of non CADability attributes to your code.
Public methodGetObjectData
Implements ISerializable.GetObjectData. Saves UserData, Layer and Style. All other properties of the GeoObject must be saved by the derived class. don't forget to call the base implementation
Public methodGetQuadTreeItem
Deprecated.
Public methodGetShowProperties
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.
Public methodHasChildren
Overrides HasChildren()()()(). The deafult implementation returns false.
Public methodHasValidData
Default implementation of IGeoObject.HasValidData. Returns true. Override if the derived object can decide itself.
Public methodHitTest(BoundingCube%, Double)
Public methodHitTest(Projection..::..PickArea, Boolean)
Public methodHitTest(Projection, BoundingRect, Boolean)
Public methodIsAttributeUsed
/// 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.
Public methodStatic memberIsOwnedByBlockRef
Checks whether the GeoObject is owned by a BlockRef object.
Public methodModify
Overrides Modify(ModOp). Must be implemented by each GeoObject. No default implementation.
Public methodModifyInverse
Modify with the inverse modification. Calls Modify(m.GetInverse());
Public methodModifyWithMouse
depreciated
Public methodPaintTo3D
Patin the object to th IPaintTo3D interface.
Public methodPaintTo3DList
Public methodPosition
Public methodPrePaintTo3D
Hier kann man Dinge vor OpenList tun (da sie selbst vielleicht ein OpenList benötigen)
Public methodPrepareDisplayList
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.
Public methodPropagateAttributes
Sets the provided layer and color to this object and propagates these attributes to the owned objects.
Protected methodSetColorDef
Hilfsfunktion zum Setzen der Farbe und gleichzeitig die Events feuern
Public methodSetNamedAttribute
Implements SetNamedAttribute(String, INamedAttribute). The default implementation handles all CADability attributes and leaves the handling of non CADability attributes to your code.
Protected methodSetSerializationValue
Public methodUpdateAttributes(IAttributeListContainer)
Implements UpdateAttributes(IAttributeListContainer) for all CADability attributes. Non CADability attributes are not handled and must be handled if there are any.
Public methodUpdateAttributes(array<I2DRepresentation>[]()[][], Projection, GDIResources)
Implements UpdateAttributes(IAttributeListContainer). Default implementation does nothing.

Fields

  NameDescription
Protected fieldisChanging
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.
Protected fieldisModifyingWithMouse
depreciated

Properties

  NameDescription
Public propertyActuator
Sets or gets the drive assiziated with this GeoObject
Public propertyAttributes
Implements Attributes. Returns a collection af all CADability attributes used by this GeoObject. Non CADability attributes must be handled by your code.
Public propertyCustomAttributeKeys
Public propertyDescription
Returns a textual description of the GeoObject. Mainly used for debugging purposes
Public propertyIsVisible
Reads or writes the visible flag. Invisible objects ar not displayed.
Public propertyLayer
Fully implements Layer. Stores the layer in a private member. Setting raises the WillChangeEvent and DidChangeEvent.
Public propertyNumChildren
Overrides NumChildren. The default implementation returns 0.
Public propertyOwnedItems
Returns an array of objects owned by this object. E.g. a face is owned by a shell.
Public propertyOwner
Overrides Owner. Fully implements set and get property and saves the value in a private member.
Public propertyPreferredStyle
Returns the preferred style for this objects, see [!:Style.EDefaultFor].
Public propertyStyle
Fully implements Style. Stores the style in a private member. Setting raises the WillChangeEvent and DidChangeEvent.
Public propertyStyleIsValid
Returns true, if the setting of the style of this object is identical to the setting of the individual attributes, false otherwise
Public propertyUniqueId
Public propertyUserData
Fully implements UserData. No need to override.

Events

  NameDescription
Public eventDidChangeEvent
Event that is raised when the GeoObject did change.
Public eventFeedBackChangedEvent
Public eventStatic memberGetAdditionalContextMenueEvent
Public eventWillChangeEvent
Event that is raised when the GeoObject is about to change.

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodICloneable..::..Clone

See Also