Category Windows and views, Object ProView

Function ProViewRotate


Description
Rotates an object in the specified view with respect to the X-, Y-, or Z-axis.
Replacement in Object TOOLKIT: pfcView::Rotate
Synopsis
#include <ProView.h>
ProErrorProViewRotate(
ProMdl model
/* (In)
The object. If NULL, function uses the curren object.
*/
ProView view_handle
/* (In)
The view. If NULL, the function uses the current view.
*/
ProRotate rotation_axis
/* (In)
The axis specification.
*/
double angle
/* (In)
The rotation angle, in degrees.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully rotated the object.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Solid Orientation

Sample Code References:

  1. pt_examples ( TestView.c )
  2. pt_examples ( TestView.c )
  3. pt_examples ( TestView.c )