Class Bitmap3
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class Bitmap3 : IBinaryVoxelGrid, IGridElement3, IFixedGrid3
Constructors
Bitmap3(Vector3i)
Declaration
public Bitmap3(Vector3i dims)
Parameters
Fields
Bits
Declaration
Field Value
Type |
Description |
BitArray |
|
Properties
Dimensions
Declaration
public Vector3i Dimensions { get; }
Property Value
GridBounds
Declaration
public AxisAlignedBox3i GridBounds { get; }
Property Value
Item[Vector3i]
Declaration
public bool this[Vector3i idx] { get; set; }
Parameters
Property Value
Item[Int32]
Declaration
public bool this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Methods
CreateNewGridElement(Boolean)
Declaration
public virtual IGridElement3 CreateNewGridElement(bool bCopy)
Parameters
Type |
Name |
Description |
Boolean |
bCopy |
|
Returns
Filter(Int32)
Declaration
public void Filter(int nMinNbrs)
Parameters
Type |
Name |
Description |
Int32 |
nMinNbrs |
|
Get(Vector3i)
Declaration
public bool Get(Vector3i idx)
Parameters
Returns
Indices()
Declaration
public IEnumerable<Vector3i> Indices()
Returns
NonZeros()
Declaration
public IEnumerable<Vector3i> NonZeros()
Returns
SafeSet(Vector3i, Boolean)
Declaration
public void SafeSet(Vector3i idx, bool val)
Parameters
Set(Vector3i, Boolean)
Declaration
public void Set(Vector3i idx, bool val)
Parameters
ToIndex(Int32)
Declaration
public Vector3i ToIndex(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
ToLinear(Vector3i)
Declaration
public int ToLinear(Vector3i idx)
Parameters
Returns
Implements