Class HyperRectangle
A simple multidimensional box
Implements
Inherited Members
Namespace: IntersectingQuadrature
Assembly: IntersectingQuadrature.dll
Syntax
public class HyperRectangle : IHyperRectangle
Constructors
| Edit this page View SourceHyperRectangle(int)
Initializes a HyperactAngle with Center = 0 and Diameters = 0.
Declaration
public HyperRectangle(int dim)
Parameters
| Type | Name | Description |
|---|---|---|
| int | dim | Dimension of the Hyperrectangle |
Properties
| Edit this page View SourceCenter
Geometric center of the Hyperrectangle. A vector of Length Dimension.
Declaration
public Tensor1 Center { get; set; }
Property Value
| Type | Description |
|---|---|
| Tensor1 |
Diameters
Diameter of each direction of the hyperrectangle. A vector of Length Dimension.
Declaration
public Tensor1 Diameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Tensor1 |
Dimension
Dimension of the Hyperrectangle.
Declaration
public int Dimension { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceUnitCube(int)
Initializes a UnitCube [-1,1]^ dim
Declaration
public static HyperRectangle UnitCube(int dim)
Parameters
| Type | Name | Description |
|---|---|---|
| int | dim |
Returns
| Type | Description |
|---|---|
| HyperRectangle | HyperactAngle with Center = 0 and Diameters = 2. |