public class Arc
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
angle |
protected double |
arcTolerance |
protected com.vividsolutions.jts.geom.Coordinate |
center |
protected double |
radius |
protected com.vividsolutions.jts.geom.Coordinate |
start |
Constructor and Description |
---|
Arc(com.vividsolutions.jts.geom.Coordinate center,
com.vividsolutions.jts.geom.Coordinate start,
double angle) |
Modifier and Type | Method and Description |
---|---|
protected com.vividsolutions.jts.geom.CoordinateList |
arcAnglePts(double angle,
com.vividsolutions.jts.geom.Coordinate pt,
com.vividsolutions.jts.geom.Coordinate center) |
com.vividsolutions.jts.geom.CoordinateList |
getCoordinates() |
com.vividsolutions.jts.geom.LineString |
getLineString() |
com.vividsolutions.jts.geom.Polygon |
getPoly() |
protected int |
getPtsFromTolerance(double radius,
double angle,
double tolerance) |
void |
setArcTolerance(double arcTolerance) |
protected com.vividsolutions.jts.geom.Coordinate center
protected com.vividsolutions.jts.geom.Coordinate start
protected double radius
protected double angle
protected double arcTolerance
public Arc(com.vividsolutions.jts.geom.Coordinate center, com.vividsolutions.jts.geom.Coordinate start, double angle)
public void setArcTolerance(double arcTolerance)
public com.vividsolutions.jts.geom.Polygon getPoly()
public com.vividsolutions.jts.geom.LineString getLineString()
public com.vividsolutions.jts.geom.CoordinateList getCoordinates()
protected com.vividsolutions.jts.geom.CoordinateList arcAnglePts(double angle, com.vividsolutions.jts.geom.Coordinate pt, com.vividsolutions.jts.geom.Coordinate center)
protected int getPtsFromTolerance(double radius, double angle, double tolerance)