Share

DocumentUnitsPoint2d Class

Provides properties, functions, and operators for a two-dimensional point with coordinates in document units.

Inheritance Hierarchy

System.Object
  DocumentUnitsGeometry
    Autodesk.iLogic.Types.DocumentUnitsPoint2d

Namespace:  Autodesk.iLogic.Types
Assembly:  Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 29.0

Syntax

VB

Public Class DocumentUnitsPoint2d
	Inherits DocumentUnitsGeometry

C#

public class DocumentUnitsPoint2d : DocumentUnitsGeometry

The DocumentUnitsPoint2d type exposes the following members.

Constructors

  NameDescription
Public methodDocumentUnitsPoint2d
Constructor.

Properties

  NameDescription
Public propertyInDatabaseUnits
Gets or sets the point in Inventor internal database units (centimeters).
Public propertyX
Gets or sets the X coordinate.
Public propertyY
Gets or sets the Y coordinate.

Methods

  NameDescription
Public methodCopy
Creates a copy of this Point object. The result is entirely independent and can be edited without affecting the original Point object.
Public methodDistanceTo
Determine the distance between this point and the specified point.
Public methodGetPointData
Gets the coordinates of the point.
Public methodIsEqualTo
Compares this point for equality with the specified point.
Public methodPutPointData
Method that sets the data defining this point.
Public methodToString
Returns a string representation of this point.
(Overrides Object.ToString().)
Public methodTransformBy
Transform this point by the specified matrix.
Public methodTranslateBy
Translate this point by the specified vector.
Public methodVectorTo
Gets the vector of translation between this point and the specified point.

Operators

  NameDescription
Public operatorStatic memberAddition
Translate point by vector. Returns a point that is equivalent to the result of translating the point by the vector.
Public operatorStatic memberSubtraction(DocumentUnitsPoint2d, DocumentUnitsPoint2d)
Get translate vector between two points This operator returns a vector which is equivalent to the translation that takes pointA to pointB.
Public operatorStatic memberSubtraction(DocumentUnitsPoint2d, DocumentUnitsVector)
Translate point by -vector. Returns a point that is equivalent to the result of translating the point by the -vector.

See Also

Reference

Was this information helpful?