HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>


Show_Geometry


Functions

HT_Geometry * Show_Geometry (HT_Rendition *nr)
HC_KEY Show_Geometry_Key (HT_Rendition *nr)
int Show_Geometry_Type (HT_Rendition *nr)
HC_KEY Show_Original_Geometry_Key (HT_Rendition *nr)

Function Documentation

HT_Geometry * Show_Geometry HT_Rendition *  nr  ) 
 

Shows the geometry element in progress.

Parameters:
nr - Rendition. Passed by reference.
Returns:
geom - Geometry descriptor structure. Passed by reference.

DETAILS

These functions return information about the geometry element in progress at the callback point

type has one of the symbolic constant values

HK_CIRCLE, HK_CIRCULAR_ARC, HK_CIRCULAR_CHORD, HK_CIRCULAR_WEDGE, HK_EDGE,HK_ELLIPSE, HK_ELLIPTICAL_ARC, HK_FACE, HK_GRID, HK_IMAGE, HK_LINE, HK_MARKER, HK_MESH, HK_POLYLINE, HK_POLYGON, HK_SHELL, HK_STRING_CURSOR,
HK_TEXT, HK_VERTEX, HK_MISSING_GEOMETRY.

orig_key is the system-assigned key returned by KInsert_..., independently of how you may have renumbered it.

key is the system-assigned key, or the renumbered key if you have renumbered it.

When no geometry is in progress at the callback point, then HIC_Show_Geometry() returns null, HIC_Show_Geometry_Type() returns HK_BAD_TYPE, and HIC_Show_Geometry_Key() and HIC_Show_Original_Geometry_Key() return (long)(-1).

NOTES

geom is a pointer that you can pass to one of the other geometry-dependent functions, such as HIC_Draw_3D_Geometry() or HIC_Draw_3D_Polygon() , HIC_Show_Polygon_Count() , or HIC_Show_Polygon_Points() when type is HK_Polygon.

RESTRICTIONS

See also:

HC_KEY Show_Geometry_Key HT_Rendition *  nr  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
nr - Rendition. Passed by reference.
Returns:
key - Key of geometry in progress. See below for details.

DETAILS

No additional details. See Show_Geometry()

int Show_Geometry_Type HT_Rendition *  nr  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
nr - Rendition. Passed by reference.
Returns:
type - Type of geometry in progress. See below for details.

DETAILS

No additional details. See Show_Geometry()

HC_KEY Show_Original_Geometry_Key HT_Rendition *  nr  ) 
 

CAN'T DETERMINE DESCRIPTION FOR THIS VARIANT.

Parameters:
nr - Rendition. Passed by reference.
Returns:
orig_key - Original key of geometry in progress. See below.

DETAILS

No additional details. See Show_Geometry()
Main Index

HOOPS/3dGS I.M. Interface

     << Back      Full Index      Forward >>