WorldGeometry Class

This class defines functions that allow entities to vectorize themselves. Vectorization with the methods of this class are viewport independent. For viewport specific vectorization, use subViewportDraw() instead of subWorldDraw(). A WorldGeometry object is part of the WorldDraw argument passed to the subWorldDraw() method of an entity. Model coordinates are applied to all geometry in this class except for setExtents().
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceGeometry
          Teigha.GraphicsInterfaceWorldGeometry

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public abstract class WorldGeometry : Geometry

The WorldGeometry type exposes the following members.

Constructors
  Name Description
Protected method WorldGeometry Initializes a new instance of the WorldGeometry class
Protected method WorldGeometry(IntPtr, Boolean) Initializes a new instance of the WorldGeometry class
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property ModelToWorldTransform Property that represents the model-to-world coordinate transform matrix for the geometry. This is the inverse of the WorldToModelTransform matrix.
(Inherited from Geometry)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property WorldToModelTransform Property that represents the world-to-model coordinate transform matrix for the geometry. This is the inverse of the ModelToWorldTransform matrix.
(Inherited from Geometry)
Top
Methods
  Name Description
Public method Circle(Point3d, Double, Vector3d) Introduces a circle to the vectorization context.
(Inherited from Geometry)
Public method Circle(Point3d, Point3d, Point3d) Introduces a circle to the vectorization context.
(Inherited from Geometry)
Public method CircularArc(Point3d, Point3d, Point3d, ArcType) Introduces a circular arc to the vectorization context.
(Inherited from Geometry)
Public method CircularArc(Point3d, Double, Vector3d, Vector3d, Double, ArcType) Introduces a circular arc to the vectorization context.
(Inherited from Geometry)
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Draw Introduces the specified object into the vectorization context.
(Inherited from Geometry)
Public method EllipticalArc
(Inherited from Geometry)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method Image(ImageBGRA32, Point3d, Vector3d, Vector3d) Introduces an image in BGRA format into the vectorization context.
(Inherited from Geometry)
Public method Image(ImageBGRA32, Point3d, Vector3d, Vector3d, TransparencyMode) Introduces an image in BGRA format into the vectorization context.
(Inherited from Geometry)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method Mesh Introduces a mesh into the vectorization context.
(Inherited from Geometry)
Public method OwnerDraw Draws a GDI owner draw object.
(Inherited from Geometry)
Public method Polygon Introduces a polygon to the vectorization context.
(Inherited from Geometry)
Public method Polyline(Polyline) Introduces a polyline into the vectorization context.
(Inherited from Geometry)
Public method Polyline(Point3dCollection, Vector3d, IntPtr) Introduces a polyline into the vectorization context.
(Inherited from Geometry)
Public method Polyline(Polyline, Int32, Int32) Introduces a polyline into the vectorization context.
(Inherited from Geometry)
Public method Polypoint(Point3dCollection, Vector3dCollection, IntPtrCollection) Introduces an array of points to the vectorization context.
(Inherited from Geometry)
Public method Polypoint(Point3dCollection, EntityColorCollection, Vector3dCollection, IntPtrCollection) Introduces an array of points to the vectorization context.
(Inherited from Geometry)
Public method Polypoint(Point3dCollection, EntityColorCollection, TransparencyCollection, Vector3dCollection, IntPtrCollection, Int32) Introduces an array of points to the vectorization context.
(Inherited from Geometry)
Public method PolyPolygon Introduces multiple polygons to the vectorization context. These polygons can be defined with various properties including shape, opacity, outlines, etc. It can draw multiple identical polygons and multiple different polygons at the same time. If some of the parameters are not defined, they are taken from the current SubEntityTraits properties.
(Inherited from Geometry)
Public method PolyPolyline Introduces multiple polylines to the vectorization context.
(Inherited from Geometry)
Public method PopClipBoundary Removes the top clip boundary from the clip stack.
(Inherited from Geometry)
Public method PopModelTransform Removes the top transformation from the current transformation stack.
(Inherited from Geometry)
Public method PushClipBoundary(ClipBoundary) Pushes a clip boundary to the current clip stack.
(Inherited from Geometry)
Public method PushClipBoundary(ClipBoundary, AbstractClipBoundary) Pushes a clip boundary with additional clipping information to the current clip stack.
(Inherited from Geometry)
Public method PushModelTransform(Matrix3d) Pushes a model transformation matrix for the current transformation stack. The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.
(Inherited from Geometry)
Public method PushModelTransform(Vector3d) Pushes a model transformation vector for the current transformation stack. The specified transformation is concatenated to the current model transformation (which is initially the identity transform). The resulting model transformation is subsequently applied to all geometry introduced into this vectorization context, until popModelTransform() is called.
(Inherited from Geometry)
Public method PushOrientationTransform Pushes the orientation transform behavior to the current transform stack and returns the resulting matrix.
(Inherited from Geometry)
Public method PushPositionTransform(PositionBehavior, Point2d) Pushes the position transform behavior to the current transform stack and returns the resulting matrix.
(Inherited from Geometry)
Public method PushPositionTransform(PositionBehavior, Point3d) Pushes the position transform behavior to the current transform stack and returns the resulting matrix.
(Inherited from Geometry)
Public method PushScaleTransform(ScaleBehavior, Point2d) Pushes the scale transform behavior to the current transform stack and returns the resulting matrix.
(Inherited from Geometry)
Public method PushScaleTransform(ScaleBehavior, Point3d) Pushes the scale transform behavior to the current transform stack and returns the resulting matrix.
(Inherited from Geometry)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Public method Ray Introduces a ray into the vectorization context.
(Inherited from Geometry)
Public method RowOfDots Introduces a row of points to the vectorization context.
(Inherited from Geometry)
Public method SetExtents Sets the extents of the current object.
Public method Shell
(Inherited from Geometry)
Public method StartAttributesSegment Starts a segment of attributes for a block.
Public method Text(Point3d, Vector3d, Vector3d, String, Boolean, TextStyle) Introduces text into the vectorization context.
(Inherited from Geometry)
Public method Text(Point3d, Vector3d, Vector3d, Double, Double, Double, String) Introduces text into the vectorization context.
(Inherited from Geometry)
Public method ToString
(Inherited from Object)
Public method WorldLine Introduces a line into the vectorization context.
(Inherited from Geometry)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Public method Xline Introduces an xline into the vectorization context.
(Inherited from Geometry)
Top
See Also

©  Bricsys NV. All rights reserved.