public class VLPolygon extends Object
Constructor and Description |
---|
VLPolygon() |
VLPolygon(List<VLPoint> vertices_temp) |
VLPolygon(VLPoint point0,
VLPoint point1,
VLPoint point2) |
Modifier and Type | Method and Description |
---|---|
double |
area() |
org.opentripplanner.visibility.BoundingBox |
bbox() |
double |
boundary_length() |
VLPoint |
centroid() |
double |
diameter() |
void |
eliminate_redundant_vertices(double epsilon) |
void |
enforce_standard_form() |
boolean |
equals(Object o) |
VLPoint |
get(int i) |
int |
hashCode() |
boolean |
hasPointInside(VLPolygon container) |
boolean |
is_in_standard_form() |
boolean |
is_simple(double epsilon) |
int |
n() |
int |
r() |
void |
reverse() |
String |
toString() |
public int n()
public int r()
public boolean is_simple(double epsilon)
public boolean is_in_standard_form()
public double boundary_length()
public double area()
public VLPoint centroid()
public double diameter()
public org.opentripplanner.visibility.BoundingBox bbox()
public void enforce_standard_form()
public void eliminate_redundant_vertices(double epsilon)
public void reverse()
public VLPoint get(int i)
public boolean hasPointInside(VLPolygon container)
Copyright © 2019. All rights reserved.