Geometry Class

This .NET class wraps the OdGiGeometry class that defines functions that allow entities to vectorize themselves. Most methods of this class are implemented in WorldGeometry and ViewportGeometry classes.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceGeometry
          Teigha.GraphicsInterfaceViewportGeometry
          Teigha.GraphicsInterfaceWorldGeometry

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

The Geometry type exposes the following members.

Constructors
  Name Description
Protected method Geometry Initializes a new instance of the Geometry 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.
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.
Top
Methods
  Name Description
Public method Circle(Point3d, Double, Vector3d) Introduces a circle to the vectorization context.
Public method Circle(Point3d, Point3d, Point3d) Introduces a circle to the vectorization context.
Public method CircularArc(Point3d, Point3d, Point3d, ArcType) Introduces a circular arc to the vectorization context.
Public method CircularArc(Point3d, Double, Vector3d, Vector3d, Double, ArcType) Introduces a circular arc to the vectorization context.
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.
Public method EllipticalArc  
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.
Public method Image(ImageBGRA32, Point3d, Vector3d, Vector3d, TransparencyMode) Introduces an image in BGRA format into the vectorization context.
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.
Public method OwnerDraw Draws a GDI owner draw object.
Public method Polygon Introduces a polygon to the vectorization context.
Public method Polyline(Polyline) Introduces a polyline into the vectorization context.
Public method Polyline(Point3dCollection, Vector3d, IntPtr) Introduces a polyline into the vectorization context.
Public method Polyline(Polyline, Int32, Int32) Introduces a polyline into the vectorization context.
Public method Polypoint(Point3dCollection, Vector3dCollection, IntPtrCollection) Introduces an array of points to the vectorization context.
Public method Polypoint(Point3dCollection, EntityColorCollection, Vector3dCollection, IntPtrCollection) Introduces an array of points to the vectorization context.
Public method Polypoint(Point3dCollection, EntityColorCollection, TransparencyCollection, Vector3dCollection, IntPtrCollection, Int32) Introduces an array of points to the vectorization context.
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.
Public method PolyPolyline Introduces multiple polylines to the vectorization context.
Public method PopClipBoundary Removes the top clip boundary from the clip stack.
Public method PopModelTransform Removes the top transformation from the current transformation stack.
Public method PushClipBoundary(ClipBoundary) Pushes a clip boundary to the current clip stack.
Public method PushClipBoundary(ClipBoundary, AbstractClipBoundary) Pushes a clip boundary with additional clipping information to the current clip stack.
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.
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.
Public method PushOrientationTransform Pushes the orientation transform behavior to the current transform stack and returns the resulting matrix.
Public method PushPositionTransform(PositionBehavior, Point2d) Pushes the position transform behavior to the current transform stack and returns the resulting matrix.
Public method PushPositionTransform(PositionBehavior, Point3d) Pushes the position transform behavior to the current transform stack and returns the resulting matrix.
Public method PushScaleTransform(ScaleBehavior, Point2d) Pushes the scale transform behavior to the current transform stack and returns the resulting matrix.
Public method PushScaleTransform(ScaleBehavior, Point3d) Pushes the scale transform behavior to the current transform stack and returns the resulting matrix.
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.
Public method RowOfDots Introduces a row of points to the vectorization context.
Public method Shell  
Public method Text(Point3d, Vector3d, Vector3d, String, Boolean, TextStyle) Introduces text into the vectorization context.
Public method Text(Point3d, Vector3d, Vector3d, Double, Double, Double, String) Introduces text into the vectorization context.
Public method ToString
(Inherited from Object)
Public method WorldLine Introduces a line into the vectorization context.
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.
Top
See Also

©  Bricsys NV. All rights reserved.