IInterval Interface

Represents an interval in one-dimensional space, that is defined as two extrema or bounds.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public interface IInterval

Properties

Item Gets or sets the indexed bound of this Interval.
Length Gets the signed length of the numeric range. If the interval is decreasing, a negative length will be returned.
Max Gets the larger of T0 and T1.
Mid Gets the middle of T0 and T1.
Min Gets the smaller of T0 and T1.
T0 Gets or sets the lower bound of the Interval.
T1 Gets or sets the upper bound of the Interval.

Methods

IncludesParameter Tests a parameter for Interval inclusion.

See Also