Point3dExtensionConvert2d Method |
Converts a Point3d into a Point2d (projection on XY plane).
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static Point2d Convert2d(
this Point3d pt
)
<ExtensionAttribute>
Public Shared Function Convert2d (
pt As Point3d
) As Point2d
public:
[ExtensionAttribute]
static Point2d Convert2d(
Point3d pt
)
[<ExtensionAttribute>]
static member Convert2d :
pt : Point3d -> Point2d
Parameters
- pt
- Type: Point3d
The instance to which this method applies.
Return Value
Type:
Point2dThe corresponding Point3d.
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