API Reference > FacetModeler Namespace > Classes > Wrapper3D Class > Wrapper3D Methods > to2D Method > Wrapper3D::to2D Method (OdGeVector3d&, OdGeVector2d&)
Wrapper3D::to2D Method (OdGeVector3d&, OdGeVector2d&)
Syntax
C++
Result to2D(const OdGeVector3d& rSource3D, OdGeVector2d& rDest2D) const;
Parameters 
Description 
const OdGeVector3d& rSource3D 
[in] 3D Vector to transform.  
OdGeVector2d& rDest2D 
[out] 2D Resulting vector.  

eOk if the source object lies on the plane of this wrapper object, erWarnPointNotOnThis - otherwise.

Transforms the vector from the 3D coordinate system to 2D by applying a inverse transformation matrix. 

 

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