Class spatial_entity3D

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class spatial_entity3D : public cosm::repr::spatial_entity2D

Base class from which all arena spatial entities which can be represented in 3D derive. Basically defines the interface for a 2D bounding box for entities.

Subclassed by cosm::repr::entity3D

Public Functions

~spatial_entity3D(void) override = default
inline size_t zdsize(void) const

Get the size of the 3D entity in the Z direction in discrete coordinates.

inline rmath::rangez zdspan(void) const

Calculate the span in Z of the entity in discrete coordinates.

inline rspatial::euclidean_dist zrsize(void) const

Get the size of the 3D entity in the Z direction in real coordinates.

inline rmath::ranged zrspan(void) const

Calculate the span in Z of a 3D entity given its location and dimension in Z.

Returns:

The span in Z of the entity.