API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Methods > convert2d Method > OdGeVector3d::convert2d Method (OdGePlanarEnt&)
OdGeVector3d::convert2d Method (OdGePlanarEnt&)
Syntax
C++
OdGeVector2d convert2d(const OdGePlanarEnt& plane) const;

Returns the 2D vector, in the coordinate system of the plane, corresponding to the 3D vector.

The 3D vector must be parallel to the plane. 

If no plane is specified, the XY plane is used.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.