dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
internals::RectLatLng Struct Reference

#include <rectlatlng.h>

Public Member Functions

 RectLatLng (double const &lat, double const &lng, double const &widthLng, double const &heightLat)
 
 RectLatLng (PointLatLng const &location, SizeLatLng const &size)
 
 RectLatLng ()
 
PointLatLng LocationTopLeft () const
 
void SetLocationTopLeft (PointLatLng const &value)
 
PointLatLng LocationRightBottom ()
 
SizeLatLng Size ()
 
void SetSize (SizeLatLng const &value)
 
double Lng () const
 
void SetLng (double const &value)
 
double Lat () const
 
void SetLat (double const &value)
 
double WidthLng () const
 
void SetWidthLng (double const &value)
 
double HeightLat () const
 
void SetHeightLat (double const &value)
 
double Left () const
 
double Top () const
 
double Right () const
 
double Bottom () const
 
bool IsEmpty () const
 
bool Contains (double const &lat, double const &lng)
 
bool Contains (PointLatLng const &pt)
 
bool Contains (RectLatLng const &rect)
 
void Inflate (double const &lat, double const &lng)
 
void Inflate (SizeLatLng const &size)
 
void Intersect (RectLatLng const &rect)
 
bool IntersectsWith (RectLatLng const &rect)
 
void Offset (PointLatLng const &pos)
 
void Offset (double const &lat, double const &lng)
 
QString ToString () const
 

Static Public Member Functions

static RectLatLng FromLTRB (double const &lng, double const &lat, double const &rightLng, double const &bottomLat)
 
static RectLatLng Inflate (RectLatLng const &rect, double const &lat, double const &lng)
 
static RectLatLng Intersect (RectLatLng const &a, RectLatLng const &b)
 
static RectLatLng Union (RectLatLng const &a, RectLatLng const &b)
 

Static Public Attributes

static RectLatLng Empty =RectLatLng()
 

Friends

uint qHash (RectLatLng const &rect)
 
bool operator== (RectLatLng const &left, RectLatLng const &right)
 
bool operator!= (RectLatLng const &left, RectLatLng const &right)
 

Detailed Description

Definition at line 37 of file rectlatlng.h.


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