formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Nurbz Object

# fz_objt_edit_nrbz_extend_by_distance

Description

Extends a nurbz surface object by a specified distance in the direction specified : Surface edge, Control Points or plane. When the plane option is active, a normal to a plane is expected. This normal is NULL for the other options. The object passed in must be a nurbz object without any trimming. Returns a new nurbz surface object.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_extend_by_distance(

fzrt_int | windex,
fz_objt_ptr | srf_obj,
fz_nsrf_which_edge_enum | which_edge,
fz_objt_nrbz_algn_type_enum | align_type,
double | distance,
fz_objt_nrbz_extend_type_enum | direction,
fz_xyz_td * | norm_2_plane,
fz_objt_ptr * | new_obj )

Parameters

windex [Input]

project window index

srf_obj [Input]

nurbz object

which_edge [Input]

edge identifier of source object

align_type [Input]

alignment type (C0, G1, C1, C2)

distance [Input]

extension distance

direction [Input]

extension direction

norm_2_plane [Input]

normal to plane

new_obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_extend.fsl

See Also

, fz_objt_edit_nrbz_attach

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h