API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class > OdCamera Methods > OdCamera::getProjection Method
OdCamera::getProjection Method
Syntax
C++
void getProjection(Camera::Projection& type, double& oblique_y_skew, double& oblique_x_skew) const;
Parameters 
Description 
Camera::Projection& type 
[out] A placeholder for the camera projection type.  
double& oblique_y_skew 
[out] A placeholder for the vertical oblique skew value.  
double& oblique_x_skew 
[out] A placeholder for the horizontal skew. 

Returns the camera's current projection. The camera projection is defined by the projection type and oblique skews in horizontal and vertical directions. The method fills the passed values with the current type of projection and obligue skew values and returns them to a calling subroutine. 

 

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