QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_viewport.h File Reference

Go to the source code of this file.

Classes

class  ON_Viewport
 

Functions

ON_DECL bool ON_GetViewportRotationAngles (const ON_3dVector &, const ON_3dVector &, const ON_3dVector &, double *, double *, double *)
 
ON_DECL bool ON_IntersectViewFrustumPlane (const ON_Viewport &vp, const ON_PlaneEquation &plane_equation, ON_SimpleArray< ON_3dPoint > &points)
 
ON_DECL bool ON_ViewportFromRhinoView (ON::view_projection, const ON_3dPoint &, double, double, double, double, double, int, int, ON_Viewport &)
 

Function Documentation

◆ ON_GetViewportRotationAngles()

ON_DECL bool ON_GetViewportRotationAngles ( const ON_3dVector & X,
const ON_3dVector & Y,
const ON_3dVector & Z,
double * angle1,
double * angle2,
double * angle3 )

◆ ON_IntersectViewFrustumPlane()

ON_DECL bool ON_IntersectViewFrustumPlane ( const ON_Viewport & vp,
const ON_PlaneEquation & plane_equation,
ON_SimpleArray< ON_3dPoint > & points )

◆ ON_ViewportFromRhinoView()

ON_DECL bool ON_ViewportFromRhinoView ( ON::view_projection projection,
const ON_3dPoint & rhvp_target,
double rhvp_angle1,
double rhvp_angle2,
double rhvp_angle3,
double rhvp_viewsize,
double rhvp_cameradist,
int screen_width,
int screen_height,
ON_Viewport & vp )