Class GridCellD<O>
The cell of a GridD<P>.
Inheritance
System.Object
GridCellD<O>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Structures
Assembly: Fusee.Structures.dll
Syntax
public class GridCellD<O> : IBucket<double3, double3>
Type Parameters
Name | Description |
---|---|
O | The type of the payload. |
Constructors
GridCellD(double3, double3)
Creates a new instance of type GridCell.
Declaration
public GridCellD(double3 center, double3 size)
Parameters
Type | Name | Description |
---|---|---|
double3 | center | The center of the cell. |
double3 | size | The size of the cell. |
Properties
Center
Center of this Bucket in world space coordinates.
Declaration
public double3 Center { get; }
Property Value
Type | Description |
---|---|
double3 |
Payload
The payload.
Declaration
public O Payload { get; set; }
Property Value
Type | Description |
---|---|
O |
Size
Length, width and height of this Octant.
Declaration
public double3 Size { get; }
Property Value
Type | Description |
---|---|
double3 |