Vector3dExtensionTrans Method (Vector3d, CoordSystem, Vector3d) |
Translates a vector 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 Vector3d Trans(
this Vector3d vector,
CoordSystem from,
Vector3d to
)
<ExtensionAttribute>
Public Shared Function Trans (
vector As Vector3d,
from As CoordSystem,
to As Vector3d
) As Vector3d
public:
[ExtensionAttribute]
static Vector3d Trans(
Vector3d vector,
CoordSystem from,
Vector3d to
)
[<ExtensionAttribute>]
static member Trans :
vector : Vector3d *
from : CoordSystem *
to : Vector3d -> Vector3d
Parameters
- vector
- Type: Vector3d
The instance to which the method applies. - from
- Type: Gile.AutoCAD.R20.GeometryCoordSystem
Coordinate system. - to
- Type: Vector3d
Extrusion vector.
Return Value
Type:
Vector3dThe translated point.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Vector3d. 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