Synopsis

PDX_MSGT picr_BlendSurface(long option, int model, MDA_PTR orig_db_ptr, int tag, int identifier, MDA_PTR u_params, MDA_PTR v_params, MDA_PTR geom_1, MDA_PTR geom_2, double radii[2], MDA_PTR spine, double spine_extent[2], MDA_PTR *blend_surface_ptr)

Purpose

Create the PINT model BlendSurface entity.

Description

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

u_params

MDA_PTR to params entity defining u bounds of blend_surface

v_params

MDA_PTR to params entity defining v bounds of blend_surface

geom_1

MDA_PTR to base surface entity

geom_2

MDA_PTR to base surface entity

radii

Magnitude of the rolling ball

spine

MDA_PTR of the tracing curve

spine_extent

Active parameter range of the tracing curve

Output

blend_surface_ptr

The PINT model pointer

Return

      Low level error return
      .fi