ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Class GridBase

    Base class for 3D grid structures, providing common properties and methods.

    Inheritance
    object
    LicensedBase
    GridBase
    ChannelGrid
    DataGrid<T>
    DistanceGrid
    OccupancyGrid
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ZLab.Discrete.Grids
    Assembly: ZLab.Discrete.dll
    Syntax
    public abstract class GridBase : LicensedBase

    Properties

    Name Description
    Bounds

    Axis-aligned bounding box of the grid in world coordinates.

    Meta

    Metadata about the grid, including dimensions and voxel size.

    Methods

    Name Description
    Contains((int x, int y, int z))

    Checks if a 3D index is within grid bounds.

    TryGetLinearIndex((int x, int y, int z), out int)

    Converts a 3D grid index to a flat array index.

    UpdateMeta(GridMeta)

    Updates the grid metadata and recomputes the bounding box accordingly.