HeightMap
Inherits from:object
A class to represent a height map, typically derived from LiDAR or depth data.
Attributes:
data (np.ndarray): A 2D numpy array where each cell contains a height value.
The shape is (height, width).
resolution (float): The size of each cell in meters. For example, a resolution
of 0.1 means each cell is 0.1m x 0.1m.
origin (Position): The 3D world coordinates (x, y, z) of the corner of the
cell (0,0) in the height map data.
get_world_coordinates
data array corresponds to a physical location.
This method computes the X, Y, and Z coordinates for all cells.
X and Y are grids representing the planar coordinates.
Z is the height data itself.