Skip to content

Struct Extent2D

ClassList > Extent2D

Inherited by the following classes: Extent3D

Public Attributes

Type Name
double maxx = -std::numeric\_limits<double>::infinity()
double maxy = -std::numeric\_limits<double>::infinity()
double minx = std::numeric\_limits<double>::infinity()
double miny = std::numeric\_limits<double>::infinity()

Public Functions

Type Name
double area () const
bool contains (double x, double y) const
void grow (const Extent2D & other)
Extent2D intersection (const Extent2D & other) const
bool overlaps (const Extent2D & other) const

Public Attributes Documentation

variable maxx

double Extent2D::maxx;

variable maxy

double Extent2D::maxy;

variable minx

double Extent2D::minx;

variable miny

double Extent2D::miny;

Public Functions Documentation

function area

inline double Extent2D::area () const

function contains

inline bool Extent2D::contains (
    double x,
    double y
) const

function grow

inline void Extent2D::grow (
    const Extent2D & other
) 

function intersection

inline Extent2D Extent2D::intersection (
    const Extent2D & other
) const

function overlaps

inline bool Extent2D::overlaps (
    const Extent2D & other
) const

Friends Documentation

friend operator<<

inline std::ostream & Extent2D::operator<< (
    std::ostream & os,
    const Extent2D & extent
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/utilities/coordinate.hpp