Synopsis
PDX_MSGT picr_Axis2(long option, int model, MDA_PTR orig_db_ptr, double location[3], double axis[3], double ref_direction[3], MDA_PTR *axis2_ptr)
Purpose
Create the PINT model Axis2 entity.
Description
This function creates a PINT Axis2 entity for the given input data. The data provided must result in a valid definition. The orig_db_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.
Input
option
PICR_VALIDATE
Validate the entity fields
PICR_NOVALIDATE
Do not validate the entity fields
model
PINT model for entity creation
orig_db_ptr
The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR
location
Array of doubles defining location of axis
axis
Array of doubles defining direction of axis
ref_direction
Array of doubles defining normal from axis
Output
axis2_ptr
The PINT model pointer
Return
Low level error return
.fi