libosmscout
0.1
|
#include <Pixel.h>
Public Member Functions | |
double | DistanceTo (const Vertex2D &other) const |
double | GetX () const |
double | GetY () const |
bool | operator< (const Vertex2D &other) const |
Vertex2D & | operator= (const Vertex2D &other)=default |
Vertex2D & | operator= (Vertex2D &&other)=default |
bool | operator== (const Vertex2D &other) const |
Vertex2D ()=default | |
The default constructor creates an uninitialized instance (for performance reasons). More... | |
Vertex2D (const Vertex2D &other)=default | |
Vertex2D (double x, double y) | |
Vertex2D (Vertex2D &&other)=default | |
Static Public Attributes | |
static const Vertex2D | ZERO |
Two dimensional coordinate (floating point values, negative coordinates possible).
|
default |
The default constructor creates an uninitialized instance (for performance reasons).
|
inline |
|
default |
|
default |
|
inline |
Referenced by osmscout::LabelPath::AddPoint().
|
inline |
Referenced by osmscout::LabelPath::AddPoint(), osmscout::Projection::BoundingBoxToPixel(), osmscout::LockHandler::currentPosition(), osmscout::MapPainterCairo::DrawArea(), osmscout::MapPainterAgg::DrawArea(), osmscout::MapPainterQt::DrawArea(), osmscout::MapPainterSVG::DrawArea(), osmscout::MapPainterCairo::DrawContourSymbol(), osmscout::MapPainterQt::DrawContourSymbol(), osmscout::MapPainterCairo::DrawIcon(), osmscout::MapPainterSVG::DrawIcon(), osmscout::MapPainterQt::DrawIcon(), osmscout::MapPainterAgg::DrawPath(), osmscout::MapPainterCairo::DrawPath(), osmscout::MapPainterSVG::DrawPath(), osmscout::MapPainterQt::DrawPath(), osmscout::MapPainterAgg::DrawSymbol(), osmscout::MapPainterSVG::DrawSymbol(), osmscout::Projection::BatchTransformer::Flush(), osmscout::CoordBuffer::GenerateParallelWay(), osmscout::Projection::BatchTransformer::GeoToPixel(), osmscout::RectanglePrimitive::GetBoundingBox(), osmscout::CirclePrimitive::GetBoundingBox(), osmscout::ScreenBox::GetCenter(), osmscout::CoordBufferRange::GetLength(), osmscout::ScreenBox::GetMaxX(), osmscout::ScreenBox::GetMinX(), osmscout::ScreenBox::GetWidth(), osmscout::ScreenBox::Intersects(), osmscout::ScreenBox::Merge(), osmscout::MercatorProjection::Move(), osmscout::operator*(), osmscout::operator+(), osmscout::operator-(), osmscout::IconAnimation::paint(), osmscout::MapWidget::paint(), osmscout::LabelPath::PointAtLength(), osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::ProcessLabel(), osmscout::CoordBuffer::PushCoord(), osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::RegisterContourLabel(), osmscout::SymbolRenderer::Render(), osmscout::PlaneMapRenderer::RenderMap(), osmscout::TiledRenderingHelper::RenderTiles(), osmscout::ScreenBox::Resize(), and osmscout::MapWidget::screenPosition().
|
inline |
Referenced by osmscout::LabelPath::AddPoint(), osmscout::Projection::BoundingBoxToPixel(), osmscout::LockHandler::currentPosition(), osmscout::MapPainterCairo::DrawArea(), osmscout::MapPainterAgg::DrawArea(), osmscout::MapPainterQt::DrawArea(), osmscout::MapPainterSVG::DrawArea(), osmscout::MapPainterCairo::DrawContourSymbol(), osmscout::MapPainterQt::DrawContourSymbol(), osmscout::MapPainterCairo::DrawIcon(), osmscout::MapPainterSVG::DrawIcon(), osmscout::MapPainterQt::DrawIcon(), osmscout::MapPainterAgg::DrawPath(), osmscout::MapPainterCairo::DrawPath(), osmscout::MapPainterSVG::DrawPath(), osmscout::MapPainterQt::DrawPath(), osmscout::MapPainterAgg::DrawSymbol(), osmscout::MapPainterSVG::DrawSymbol(), osmscout::Projection::BatchTransformer::Flush(), osmscout::CoordBuffer::GenerateParallelWay(), osmscout::Projection::BatchTransformer::GeoToPixel(), osmscout::RectanglePrimitive::GetBoundingBox(), osmscout::CirclePrimitive::GetBoundingBox(), osmscout::ScreenBox::GetCenter(), osmscout::ScreenBox::GetHeight(), osmscout::CoordBufferRange::GetLength(), osmscout::ScreenBox::GetMaxY(), osmscout::ScreenBox::GetMinY(), osmscout::ScreenBox::Intersects(), osmscout::ScreenBox::Merge(), osmscout::MercatorProjection::Move(), osmscout::operator*(), osmscout::operator+(), osmscout::operator-(), osmscout::IconAnimation::paint(), osmscout::MapWidget::paint(), osmscout::LabelPath::PointAtLength(), osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::ProcessLabel(), osmscout::CoordBuffer::PushCoord(), osmscout::LabelLayouter< QGlyphRun, QTextLayout, MapPainterQt >::RegisterContourLabel(), osmscout::SymbolRenderer::Render(), osmscout::PlaneMapRenderer::RenderMap(), osmscout::TiledRenderingHelper::RenderTiles(), osmscout::ScreenBox::Resize(), and osmscout::MapWidget::screenPosition().
|
inline |
|
inline |
|
static |
Referenced by osmscout::MapPainterQt::DrawContourSymbol().