Synopsis

PDX_MSGT picr_Fin(long option, int model, MDA_PTR orig_db_ptr, int tag, int identifier, MDA_PTR curve, int curve_sense, MDA_PTR edge, int edge_sense, int fin_type, MDA_PTR *fin_ptr)

Purpose

Create the PINT model Fin entity.

Description

This function creates a PINT Fin 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

identifier

Parasolid's identifier

orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

tag

Parasolid tag for this entity

curve

MDA_PTR of curve for this fin

curve_sense

PINT_TRUE

The direction of the curve agrees with the fin

PINT_FALSE

The direction of the curve does not agree with the fin

edge

MDA_PTR of edge for this fin

edge_sense

PINT_TRUE

The direction of the edge agrees with the fin

PINT_FALSE

The direction of the edge does not agree with the fin

fin_type

PINT_FIN_WIRE

The fin has a sibling fin from parent edge in same loop

PINT_FIN_BIWIRE

The fin has a sibling fin in another loop

PINT_FIN_NORMAL

The fin is owned by one edge

Output

fin_ptr

The PINT model pointer

Return

      Low level error return
      .fi