formZ SDK | 5.0 API Reference | System | Nurbs Surface

# fz_nsrf_merge_align

Description

Merges two NURBS surfaces using alignment type. Returns a new NURBS surface. The first surface is aligned to the second along the merged edge according with the alignment indicated. If is_symmetric is TRUE, then the control points along the edge will be symmetric. When use_edge is TRUE, then the symmetric plane is defined by the edge, otherwise a normal to a plane is expected. This normal is NULL for the other options.

Plugin Prototype

fzrt_error_td fz_nsrf_merge_align(

fz_nurbs_srf_ptr | lsrf,
fz_nurbs_srf_ptr | rsrf,
fz_nurbs_algn_type_enum | align_type,
fzrt_boolean | is_symmetric,
fzrt_boolean | use_edge,
fz_xyz_td * | norm_2_plane,
fz_nurbs_srf_ptr * | merge_srf )

Parameters

lsrf [Input]

NURBS surface 1

rsrf [Input]

NURBS surface 2

align_type [Input]

alignment type when smooth surfaces is FALSE (C0, G1, C1, C2)

is_symmetric [Input]

alignment of the surfaces is symmetric (TRUE) or not (FALSE)

use_edge [Input]

for the symmetric alignment use edge (TRUE) or normal to a plane (FALSE) as reference

norm_2_plane [Input]

normal to plane

merge_srf [Result]

NURBS surface

Returns

Error codes

Availability

5.0.0.0

Example Files

util_nsrf.fsl

See Also

fz_nsrf_merge_smooth

Function Set

fz_nsrf_fset

Defined in

fz_nsrf_api.h