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

fz_delaunay_triangulation

Description

Creates Dealaunay triangulation from set of source points.

Plugin Prototype

fzrt_error_td fz_delaunay_triangulation(

fzrt_int

windex,

fz_xyz_td *

source_points,

fzrt_int

num_source_points,

fz_objt_ptr

surface_obj,

fzrt_int

surface_findx,

char

make_surface,

fzrt_boolean

triangulate_cocircular,

fzrt_boolean

include_edge_vertices,

double

lattice_radius,

fzrt_boolean

imprint,

fzrt_boolean

project,

fz_objt_ptr **

delaunay_obj_list,

fzrt_int *

num_delaunay_objs )

Parameters

windex [Input]

Project window index

source_points [Input]

Array of source points

num_source_points [Input]

Number of source points

surface_obj [Input]

Object to be used to define surface

surface_findx [Input]

Index of object face to be used to define surface

make_surface [Input]

Selects output type

triangulate_cocircular [Input]

TRUE to choose a triangulation for cocircular points, otherwise mesh face with 4 or more sides may occur

include_edge_vertices [Input]

TRUE includes the edge facet points of the surface object in the triangulation

lattice_radius [Input]

Radius of lattice pipes

imprint [Input]

TRUE indicates Delaunay triangulation should be imprinted on boundary surface or face

project [Input]

Not yet implemented

delaunay_obj_list [Result]

Array of output objects, segments, surface or lattice

num_delaunay_objs [Result]

Number of output objects

Returns

Error codes

Availability

8.5.0.1

Function Set

fz_model_fset


Defined in

fz_objt_gend_api.h