Position2d Class

This class represents points (positions) in 2D space. For more information, see Working with Points.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity2d
        Teigha.GeometryPointEntity2d
          Teigha.GeometryPosition2d

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public sealed class Position2d : PointEntity2d

The Position2d type exposes the following members.

Constructors
  Name Description
Public method Position2d Default constructor for the Position2d class. Creates a default corresponding C++ object with no actual data stored.
Public method Position2d(Point2d) Constructor for the Position2d class. Creates a position object based on the specified point.
Public method Position2d(Double, Double) Constructor for the Position2d class. Creates a position object based on the provided coordinate values.
Top
Properties
  Name Description
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property Point
(Inherited from PointEntity2d)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone Clones this entity and returns a handle to the cloned entity.
(Inherited from Entity2d)
Public methodStatic member Create Creates an object based on the passed pointer and returns a handle to the created object.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals
(Inherited from DisposableWrapper)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method IsEqualTo(Entity2d) Checks whether this entity is equal to the specified entity.
(Inherited from Entity2d)
Public method IsEqualTo(Entity2d, Tolerance) Checks whether this entity is equal to the specified entity within a geometric tolerance.
(Inherited from Entity2d)
Public method IsOn(Point2d) Checks whether the specified point is on this entity.
(Inherited from Entity2d)
Public method IsOn(Point2d, Tolerance) Checks whether the specified point is on this entity according to a geometric tolerance.
(Inherited from Entity2d)
Public method Mirror Mirrors this entity about the specified 2D line.
(Inherited from Entity2d)
Public method RotateBy Rotates this entity about the specified point by the specified angle.
(Inherited from Entity2d)
Public method ScaleBy Scales this entity by the specified scale factor about the specified point.
(Inherited from Entity2d)
Public method Set(Point2d) Sets coordinates of this position object based on the specified point.
Public method Set(Double, Double) Sets coordinates of this position object based on the specified coordinate values.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TransformBy Applies the specified 2D transformation matrix to this entity.
(Inherited from Entity2d)
Public method TranslateBy Translates this entity by applying a 2D translation vector.
(Inherited from Entity2d)
Top
See Also

©  Bricsys NV. All rights reserved.