formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Generative Objects

# fz_planar_convex_hull

Description

Creates a planar convex hull from set of source points.

Plugin Prototype

fzrt_error_td fz_planar_convex_hull(

fzrt_int | windex,
fz_xyz_td * | source_points,
fzrt_int | num_source_points,
double | margin,
double | miter_angle,
double | min_angle,
fz_objt_ptr * | convex_hull_obj )

Parameters

windex [Input]

Project window index

source_points [Input]

Array of source points

num_source_points [Input]

Number of source points

margin [Input]

Distance to extend convex hull

miter_angle [Input]

Corners of convex hull with less than specified angle will be mitered when margin allows

min_angle [Input]

Angle used to identify and remove nearly collinear segments in convex hull

convex_hull_obj [Result]

Convex hull object

Returns

Error codes

Availability

8.5.0.1

Function Set

fz_model_fset

Defined in

fz_objt_gend_api.h