yucad3d

align_set_bond

Bond an existing alignment to its parent(s) — turns a plain alignment into a LIVE derived one (offset / curb return / connected). kind_code as in align_kind; parent_b_uuid may be null/empty for single-parent kinds.

Prototype

int (*align_set_bond)(Yu3dDocument*, const char* uuid, const char* kind_code, const char* parent_a_uuid, const char* parent_b_uuid, double offset_m, double cross_slope, double half_a, double half_b, int corner)

Parameters

DeclarationName
Yu3dDocument*
const char* uuiduuid
const char* kind_codekind_code
const char* parent_a_uuidparent_a_uuid
const char* parent_b_uuidparent_b_uuid
double offset_moffset_m
double cross_slopecross_slope
double half_ahalf_a
double half_bhalf_b
int cornercorner

Returns

int

Same group (Module manifest)

align_set_geometry_ex · corridor_add_baseline

Declared in sdk/include/yu3d_plugin.h. Reached through the host table: host->align_set_bond(…). Guard with YU3D_HOST_HAS(host, align_set_bond) if your plugin must also load in an older host.