Struct Omnitree.Bounds<A1, A2>
Represents a 2D bounding box.
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public struct Bounds<A1, A2>
Type Parameters
Name | Description |
---|---|
A1 | The generic type of the 1 dimension. |
A2 | The generic type of the 2 dimension. |
Constructors
| Improve this Doc View SourceBounds(Omnitree.Bound<A1>, Omnitree.Bound<A1>, Omnitree.Bound<A2>, Omnitree.Bound<A2>)
A set of values denoting a range (or lack of range) along each axis.
Declaration
public Bounds(Omnitree.Bound<A1> min1, Omnitree.Bound<A1> max1, Omnitree.Bound<A2> min2, Omnitree.Bound<A2> max2)
Parameters
Type | Name | Description |
---|---|---|
Omnitree.Bound<A1> | min1 | |
Omnitree.Bound<A1> | max1 | |
Omnitree.Bound<A2> | min2 | |
Omnitree.Bound<A2> | max2 |
Fields
| Improve this Doc View SourceMax1
The maximum value along the 1 dimension.
Declaration
public Omnitree.Bound<A1> Max1
Field Value
Type | Description |
---|---|
Omnitree.Bound<A1> |
Max2
The maximum value along the 2 dimension.
Declaration
public Omnitree.Bound<A2> Max2
Field Value
Type | Description |
---|---|
Omnitree.Bound<A2> |
Min1
The minimum value along the 1 dimension.
Declaration
public Omnitree.Bound<A1> Min1
Field Value
Type | Description |
---|---|
Omnitree.Bound<A1> |
Min2
The minimum value along the 2 dimension.
Declaration
public Omnitree.Bound<A2> Min2
Field Value
Type | Description |
---|---|
Omnitree.Bound<A2> |
Properties
| Improve this Doc View SourceNone
Extends infinitely along each axis.
Declaration
public static Omnitree.Bounds<A1, A2> None { get; }
Property Value
Type | Description |
---|---|
Omnitree.Bounds<A1, A2> |