Point2dExtensionConvert3d Method (Point2d) |
Converts a Point2d into a Point3d with a Z coordinate equal to 0.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static Point3d Convert3d(
this Point2d pt
)
<ExtensionAttribute>
Public Shared Function Convert3d (
pt As Point2d
) As Point3d
public:
[ExtensionAttribute]
static Point3d Convert3d(
Point2d pt
)
[<ExtensionAttribute>]
static member Convert3d :
pt : Point2d -> Point3d
Parameters
- pt
- Type: Point2d
The instance to which this method applies.
Return Value
Type:
Point3dThe corresponding Point3d.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Point2d. 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