Aardvark.Base


IRange<'TValue, 'TDiff, 'TRange>

IRange enforces a uniform design of all range types.

Instance members

Instance memberDescription
Center
Signature: 'TValue
Modifiers: abstract
EnlargeBy(v)
Signature: v:'TDiff -> unit
Modifiers: abstract

Enlarges range by specified vector in BOTH directions.

EnlargeBy(left, right)
Signature: (left:'TDiff * right:'TDiff) -> unit
Modifiers: abstract

Enlarges range by given values (paddings).

EnlargedBy(v)
Signature: v:'TDiff -> 'TRange
Modifiers: abstract

Returns range enlarged by specified vector in BOTH directions.

EnlargedBy(left, right)
Signature: (left:'TDiff * right:'TDiff) -> 'TRange
Modifiers: abstract

Returns range enlarged by given values (paddings).

Intersects(range, eps)
Signature: (range:'TRange * eps:'TDiff) -> bool
Modifiers: abstract

Checks if 2 ranges intersect each other with tolerance parameter.

ShrinkBy(v)
Signature: v:'TDiff -> unit
Modifiers: abstract

Shrinks range by specified vector in BOTH directions. Range may become invalid if vector is too large.

ShrinkBy(left, right)
Signature: (left:'TDiff * right:'TDiff) -> unit
Modifiers: abstract

Shrinks range by given values (paddings).

ShrunkBy(v)
Signature: v:'TDiff -> 'TRange
Modifiers: abstract

Returns range by shrunk specified vector in BOTH directions. The returned range may be invalid if vector is too large.

ShrunkBy(left, right)
Signature: (left:'TDiff * right:'TDiff) -> 'TRange
Modifiers: abstract

Returns range shrunk by given values (paddings). The returned range may be invalid if the paddings are too large.

Size
Signature: 'TDiff
Modifiers: abstract
SplitLeft(splitValue)
Signature: splitValue:'TValue -> 'TRange
Modifiers: abstract
SplitRight(splitValue)
Signature: splitValue:'TValue -> 'TRange
Modifiers: abstract
Fork me on GitHub