formZ SDK | 4.0 Call Back Reference | Object Type

# fz_otyp_cbak_get_key_pnts

Description

Object type key points function (Optional). When this function is implemented, it is expected to define on or more important (key) points that represent the object. For example, the key points of an arc are its center, its start and end point. This function is called in two modes. If pnts is passed as NULL the function only needs to determine how many key points there are and pass that value back in the knt parameter. If pnts is passed in, it is an array, allocated by formZ, ready to receive the key points. "knt" needs to be set in both cases.

Plugin Prototype

fzrt_error_td fz_otyp_cbak_get_key_pnts(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_ptr | parm,
fzrt_int * | knt,
fz_xyz_td * | pnts )

Parameters

windex [Input]

project window index

obj [Input]

object

parm [Input]

generic pointer to the parameter block

knt [Result]

The number of key points for this object

pnts [Result]

An array of points, allocated by formZ, ready to receive the key points.

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_otyp_cbak_fset

Defined in

fz_otyp_api.h