Synopsis

PDX_MSGT picr_Vertex(long option, int model, MDA_PTR orig_db_ptr, int tag, int identifier, double point[3], int vertex_type, double precision, MDA_PTR *vertex_ptr)

Purpose

Create the PINT model Vertex entity.

Description

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

point

xyz location of vertex

vertex_type

PINT_VERTEX_ISOLATED

no edges

PINT_VERTEX_SPUR

single edge, one end only

PINT_VERTEX_WIRE

all edges are wires

PINT_VERTEX_NORMAL

normal vertex

precision

Precision of the vertex

Output

vertex_ptr

The PINT model pointer

Return

      Low level error return
      .fi