Interval Class

This class represents a finite, infinite, or semi-infinite interval as the real axis. For more information, see Working with Intervals.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryInterval

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class Interval : DisposableWrapper

The Interval type exposes the following members.

Constructors
  Name Description
Public method Interval(Double) Constructor for the Interval class.
Public method Interval(Interval) Copy constructor for the Interval class.
Public method Interval(Double, Double, Double) Constructor for the Interval class.
Public method Interval(Int32, Double, Double) Constructor for the Interval class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Element Property that represents an element in this interval. * Returns an upper bound if this interval is bounded above. * Returns a lower bound if this interval is unbounded above but bounded below. * Returns 0.0 if this interval is unbounded in both directions.
Public property IsBounded Property that indicates whether the interval is bounded above and below.
Public property IsBoundedAbove Property that indicates whether interval is bounded above.
Public property IsBoundedBelow Property that indicates whether interval is bounded below.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsSingleton Property that indicates whether the interval object is a singleton, meaning that the interval is bounded, and the upper and lower bounds are equal within the specified tolerance.
Public property IsUnbounded Property that indicates whether the interval is unbounded above or below.
Public property Length Property that represents length of this interval. If the interval is unbounded, this property returns -1.
Public property LowerBound Property that represents the lower bound of this interval. This value is meaningful if and only if the interval has a lower bound.
Public property Tolerance Property that represents the boundary tolerance for this interval.
Public propertyStatic member Unbounded Property that represents interval unbounded in either one of two directions.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property UpperBound Property that represents the upper bound of this interval. This value is meaningful if and only if the interval has an upper bound.
Top
Methods
  Name Description
Public method Contains(Double) Checks whether this interval contains the specified value.
Public method Contains(Interval) Checks whether this interval contains the specified interval.
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method GetBounds Retrieves an array that contains upper and lower bounds for this interval.
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMerge Retrieves the smallest interval containing both the specified interval and this interval.
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IntersectWith Retrieves the interval that is at the intersection of this interval and the specified interval.
Public method IsContinuousAtUpper Checks whether the specified interval is continuous with the upper bound of this interval.
Public method IsDisjoint Checks whether the specified interval is disjoint from this interval.
Public method IsEqualAtLower(Double) Checks whether the lower bounds of the specified interval and this interval are equal.
Public method IsEqualAtLower(Interval) Checks whether the lower bounds of the specified interval and this interval are equal.
Public method IsEqualAtUpper(Double) Checks whether the upper bounds of the specified interval and this interval are equal.
Public method IsEqualAtUpper(Interval) Checks whether the upper bounds of the specified interval and this interval are equal.
Public method IsOverlapAtUpper Checks whether the upper bounds of the specified interval and this interval are equal.
Public method IsPeriodicallyOn Checks whether the specified value is periodic on this interval.
Public method Subtract Subtracts the specified interval from this interval.
Public method ToString
(Inherited from Object)
Top
See Also

©  Bricsys NV. All rights reserved.