formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Analysis
Description
Gets the parameters of a face's underlying surface geometry,
if the geometry of the face is of type cone ( FZ_OBJT_FACE_GEOM_TYPE_CONE).
Call fz_objt_alys_get_face_geom_type to determine the geometry of the face.
The cone may be elliptical.
Plugin Prototype
fzrt_error_td fz_objt_alys_get_face_cone_parm(
fzrt_int | windex, |
obj, | |
fzrt_int | findx, |
origin, | |
zaxis, | |
xaxis, | |
double * | radius_x, |
double * | radius_y, |
double * | angle ) |
Parameters
windex [Input]
project window index
obj [Input]
object
findx [Input]
face index
origin [Result, Optional]
point on the cone axis
zaxis [Result, Optional]
normalized vector for the z axis direction
xaxis [Result, Optional]
normalized vector for the x axis of the base
radius_x [Result, Optional]
radius of the x axis
radius_y [Result, Optional]
radius of the y axis
angle [Result, Optional]
cone angle
Returns
Error codes
MODEL_ERR_INVALID_FACE - invalid face type
Availability
5.0.0.0
Example Files
See Also
, fz_objt_alys_get_face_geom_type, fz_objt_alys_get_face_pnt_parm, fz_objt_alys_get_face_plne_parm, fz_objt_alys_get_face_sphr_parm, fz_objt_alys_get_face_cyln_parm, fz_objt_alys_get_face_tors_parm,, fz_objt_alys_get_face_area, fz_objt_alys_get_face_circumference, fz_objt_alys_get_face_cog,
Function Set
Defined in