API Reference > OdGe Classes > OdGeMatrix3d Class > OdGeMatrix3d Methods > OdGeMatrix3d::setToProjection Method
OdGeMatrix3d::setToProjection Method
Syntax
C++
OdGeMatrix3d& setToProjection(const OdGePlane& projectionPlane, const OdGeVector3d& projectDir);
Parameters 
Description 
const OdGePlane& projectionPlane 
[in] Projection plane.  
const OdGeVector3d& projectDir 
[in] Projection direction. 

Sets this matrix to the matrix which parallel projects onto the specified plane in the specified directionm and returns a reference to this matrix. 

 

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