API Reference > OdGe Classes > OdGeVector3d Class > OdGeVector3d Constructor > OdGeVector3d::OdGeVector3d Constructor (OdGePlanarEnt&, OdGeVector2d&)
OdGeVector3d::OdGeVector3d Constructor (OdGePlanarEnt&, OdGeVector2d&)
Syntax
C++
OdGeVector3d(const OdGePlanarEnt& plane, const OdGeVector2d& vector2d);
Parameters 
Description 
const OdGePlanarEnt& plane 
[in] 2D plane.  
const OdGeVector2d& vector2d 
[in] 2D vector. 

Constructor for the OdGeVector3d class. 

 

Constructs the 3D vector correspoponding to the 2D vector in the coordinates of the plane: 

uAxis * vect.x + vAxis * vect.y 

where uAxis and vAxis are returned by 

plane.get(origin, uAxis, vAxis)

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