Delaunator
2D Delaunay Triangulation in C++ with Python wrapper.
 All Classes Namespaces Functions
Public Member Functions | List of all members
Coordinates Struct Reference

#include <vertex.h>

Inheritance diagram for Coordinates:
Vertex VertexGroup

Public Member Functions

 Coordinates (const float x=0., const float y=0.)
float squareDistanceTo (const Coordinates &othr) const
float distanceTo (const Coordinates &othr) const
float x () const
float y () const
void setX (float x)
void setY (float y)
void setCoord (float x, float y)
bool operator== (const Coordinates &othr)
bool operator!= (const Coordinates &othr)
Coordinates operator+ (const Coordinates &c)
Coordinates operator- (const Coordinates &c)
Coordinates operator/ (const float value)
Coordinates operator+= (const Coordinates &c)

Detailed Description

Coordinates are composed by two float values, x and y.


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