Synopsis
PDX_MSGT picr_Parameters(long option, int model, MDA_PTR orig_db_ptr, double param_range[3], int bound_type[2], int periodic_type, int form_type, PDX_BOOL continuous, MDA_PTR *parameters_ptr)
Purpose
Create the PINT model Parameters entity.
Description
This function creates a PINT Parameters 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
param_range
t0 and t1 parameter space bounds
bound_type
PINT_BOUND_INFINITE
entity extends infinitely
PINT_BOUND_EXTENDABLE
entity may be extended in this direction
PINT_BOUND_BOUND
entity may not be extended
PINT_BOUND_CLOSED
ends of parameter range are coincedent
PINT_BOUND_DEGENERATE
parameter boundary has no 3D extent
periodic_type
PINT_PERIODIC_NO
not periodic
PINT_PERIODIC_YES
periodic, continuously differentiable at seam
PINT_PERIODIC_SEAMED
periodic, but not continuously differentiable at seam
form_type
PINT_PARAM_LINEAR
parameter is proportional to distance along a straight line
PINT_PARAM_CIRCULAR
parameter represents an angle round a circle
PINT_PARAM_ANY
not one of the above
continuous
PDX_TRUE
The entity is continuous
PDX_FALSE
The entity is not continuous
Output
parameters_ptr
The PINT model pointer
Return
Low level error return
.fi