Point3dExtensionTrans Method (Point3d, Vector3d, Int32) |
Translates a point from one coordinate system into another.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static Point3d Trans(
this Point3d point,
Vector3d from,
int to
)
<ExtensionAttribute>
Public Shared Function Trans (
point As Point3d,
from As Vector3d,
to As Integer
) As Point3d
public:
[ExtensionAttribute]
static Point3d Trans(
Point3d point,
Vector3d from,
int to
)
[<ExtensionAttribute>]
static member Trans :
point : Point3d *
from : Vector3d *
to : int -> Point3d
Parameters
- point
- Type: Point3d
The instance to which the method applies. - from
- Type: Vector3d
Extrusion vector. - to
- Type: SystemInt32
Coordinate system code: 0 = WCS, 1 = UCS, 2 = DCS, 3 = PSDCS (used only with code 2).
Return Value
Type:
Point3dThe translated point.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Point3d. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also