formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

# fz_objt_edit_delete_points

Description

Deletes one or more points from an object.
The points are identified by their indices in the pnt_indx array. If do_topo is TRUE, the points are deleted topologically. Otherwise they are deleted geometrically.
Note : This function operates on smooth objects only if do_topo is TRUE and the object is either a wire or single face surface.
As it is possible that new objects are created, these objects are stored optionally in the entity_list passed in.

Plugin Prototype

fzrt_error_td fz_objt_edit_delete_points(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | pnt_indx[],
fzrt_int | npnts,
fzrt_boolean | do_topo,
fz_enty_list_ptr | ent_list )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

pnt_indx[] [Input]

array of point indices to delete

npnts [Input]

number of points in the array

Range: npnts >= 1

do_topo [Input]

if TRUE, points are deleted topologically, otherwise they are deleted geometrically

ent_list [Result, Optional]

list with new object pointers

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_topo.fsl

See Also

,,,

Function Set

fz_model_fset

Defined in

fz_objt_api.h