Description:
Finds minimum twist ruling between 2 curves at local domains
Syntax:
static public int GetLocalDevopableRuling(
NurbsCurve rail0,
double t0,
Interval dom0,
NurbsCurve rail1,
double t1,
Interval dom1,
ref double t0_out,
ref double t1_out
)
NurbsCurve rail0,
double t0,
Interval dom0,
NurbsCurve rail1,
double t1,
Interval dom1,
ref double t0_out,
ref double t1_out
)
Parameters:
- rail0
- Type: NurbsCurve
- First rail
- t0
- Type: double
- Seed parameter on first rail
- dom0
- Type: Interval
- Parameter sub-domain to adjust in on first rail
- rail1
- Type: NurbsCurve
- Second rail
- t1
- Type: double
- Seed parameter on second rail
- dom1
- Type: Interval
- Parameter sub-domain to adjust in on second rail
- t0_out
- Type: double
- Result ruling on first rail
- t1_out
- Type: double
- Result ruling on second rail
Returns:
Type: int
-1: Error 0: Exact non-twisting ruling found between t0_out and t1_out 1: Ruling found between t0_out and t1_out that has less twist the ruling between t0 and t1
Available since:
6.0