#include <delaunay_triangulation.h>
Public メソッド | |
Vertex () | |
create vertex with Id number 0 | |
Vertex (const int id) | |
create vertex with Id | |
virtual | ~Vertex () |
nothing to do | |
Vertex (const int id, const Vector2D &p) | |
create vertex with Id & coordinates | |
Vertex (const int id, const double &x, const double &y) | |
create vertex with Id & coordinates | |
Vertex & | assign (const int id, const Vector2D &p) |
assign data | |
Vertex & | assign (const int id, const double &x, const double &y) |
assign data | |
int | id () const |
get the Id of this vertex | |
const Vector2D & | pos () const |
get the coordinates of the kernel point |
rcsc::DelaunayTriangulation::Vertex::Vertex | ( | const int | id | ) | [inline, explicit] |
create vertex with Id
id | Id number |
rcsc::DelaunayTriangulation::Vertex::Vertex | ( | const int | id, | |
const Vector2D & | p | |||
) | [inline] |
create vertex with Id & coordinates
id | Id number | |
p | coordinates of kernel point |
rcsc::DelaunayTriangulation::Vertex::Vertex | ( | const int | id, | |
const double & | x, | |||
const double & | y | |||
) | [inline] |
create vertex with Id & coordinates
id | Id number | |
x | x-coordinates of kernel point | |
y | y-coordinates of kernel point |
assign data
id | Id number | |
p | coordinates of kernel point |
Vertex& rcsc::DelaunayTriangulation::Vertex::assign | ( | const int | id, | |
const double & | x, | |||
const double & | y | |||
) | [inline] |
assign data
id | Id number | |
x | x-coordinates of kernel point | |
y | y-coordinates of kernel point |
int rcsc::DelaunayTriangulation::Vertex::id | ( | ) | const [inline] |
get the Id of this vertex
const Vector2D& rcsc::DelaunayTriangulation::Vertex::pos | ( | ) | const [inline] |
get the coordinates of the kernel point