M_Rhino_Geometry_Interval_FromUnion - mcneel/rhinocommon-api-docs GitHub Wiki
Returns a new Interval which contains both inputs.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Interval FromUnion(
Interval a,
Interval b
)
VB
Public Shared Function FromUnion (
a As Interval,
b As Interval
) As Interval
- a
- Type: Rhino.Geometry.Interval
The first input interval. - b
- Type: Rhino.Geometry.Interval
The second input interval.
Type: Interval
The union of an empty set and an increasing interval is the increasing interval.
The union of two empty sets is empty.
The union of an empty set an a non-empty interval is the non-empty interval.
The union of two non-empty intervals is [min(a.Min(),b.Min()), max(a.Max(),b.Max())]
Supported in: 6.0.16224.21491, 5D58w