Get translate vector between two points
This operator returns a vector which is equivalent to the translation that takes pointA to pointB.
Namespace:
Autodesk.iLogic.Types
Assembly:
Autodesk.iLogic.Types (in Autodesk.iLogic.Types.dll) Version: 25.0
Syntax
VB
Public Shared Operator - (
point1 As DocumentUnitsPoint2d,
point2 As DocumentUnitsPoint2d
) As DocumentUnitsVector
C#
public static DocumentUnitsVector operator -(
DocumentUnitsPoint2d point1,
DocumentUnitsPoint2d point2
)
Parameters
- point1
- Type: Autodesk.iLogic.Types.DocumentUnitsPoint2d
- point2
- Type: Autodesk.iLogic.Types.DocumentUnitsPoint2d
Return Value
Type:
DocumentUnitsVector
See Also
Reference