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
| Declaration | Name |
|---|---|
Yu3dDocument* | — |
const char* uuid | uuid |
const char* kind_code | kind_code |
const char* parent_a_uuid | parent_a_uuid |
const char* parent_b_uuid | parent_b_uuid |
double offset_m | offset_m |
double cross_slope | cross_slope |
double half_a | half_a |
double half_b | half_b |
int corner | corner |
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.