Synopsis

PDX_MSGT gdx_RevolvedToMeshBody(long option, int nCurves, MDA_PTR *gdxCurvePtrs, MTH_3DVEC axis, MTH_3DPNT point, double angle, double tolerance, int model, MDA_PTR *gdxMeshBodyPtr)

Purpose

Create GDX Mesh Body from revolved curves

Description

A GDX Mesh Body will be created by revolving the specified closed curves around the specified axis and point for the specified angle. It is assumed all of the specified curves lie in the same plane. If the number of curves is greater than 1, the first curve is assumed to be the outer. Each curve(s) will be converted to a GDX Polyline using the specified tolerance. Each segment of the GDX Polyline will be used to construct a 4 sided planar facet between the original curve(s) and the revolved curve(s). Two end caps will be contstructed using the original curve(s) and revolved curve(s).

Input

option

Options (not used)

nCurves

Number of closed curves

gdxCurvePtrs

Array of GDX closed curves to process

axis

Axis of revolution

point

Point of revolution

angle

Angle of revolution

tolerance

Tolerance to use for Polyline conversion

model

Model to create entities in

Output

gdxMeshBodyPtr

Created GDX Mesh Body entity

Return

GDX_NOERR or error