public class Vertex2d
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Vertex2d |
next |
Point2d |
pnt |
Vertex2d |
prev |
| Constructor and Description |
|---|
Vertex2d() |
Vertex2d(double x,
double y) |
Vertex2d(Point2d p) |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Vector2d p) |
double |
distance(Vertex2d vtx) |
Vector2d |
getEdge() |
Vertex2d |
getNext() |
Point2d |
getPosition() |
Vertex2d |
getPrev() |
public Vertex2d()
public Vertex2d(double x,
double y)
public Vertex2d(Point2d p)