libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::ScreenVectorRectangle Struct Reference

#include <libosmscout-map/include/osmscoutmap/LabelLayouterHelper.h>

Public Member Functions

 ScreenVectorRectangle ()=default
 ScreenVectorRectangle (double x, double y, double width, double height)
ScreenVectorRectangleSet (double nx, double ny, double nw, double nh)
bool Intersects (const ScreenVectorRectangle &other) const

Public Attributes

double x
double y
double width
double height

Constructor & Destructor Documentation

◆ ScreenVectorRectangle() [1/2]

osmscout::ScreenVectorRectangle::ScreenVectorRectangle ( )
default

◆ ScreenVectorRectangle() [2/2]

osmscout::ScreenVectorRectangle::ScreenVectorRectangle ( double x,
double y,
double width,
double height )
inline

Member Function Documentation

◆ Intersects()

bool osmscout::ScreenVectorRectangle::Intersects ( const ScreenVectorRectangle & other) const
inline

◆ Set()

ScreenVectorRectangle & osmscout::ScreenVectorRectangle::Set ( double nx,
double ny,
double nw,
double nh )
inline

Member Data Documentation

◆ height

double osmscout::ScreenVectorRectangle::height

◆ width

double osmscout::ScreenVectorRectangle::width

◆ x

double osmscout::ScreenVectorRectangle::x

◆ y

double osmscout::ScreenVectorRectangle::y

The documentation for this struct was generated from the following file: