org.openjump.core.geomutils
Class Arc
java.lang.Object
org.openjump.core.geomutils.Arc
- Direct Known Subclasses:
- Circle
public class Arc
- extends java.lang.Object
|
Field Summary |
protected double |
angle
|
protected double |
arcTolerance
|
protected com.vividsolutions.jts.geom.Coordinate |
center
|
protected double |
radius
|
protected com.vividsolutions.jts.geom.Coordinate |
start
|
|
Constructor Summary |
Arc(com.vividsolutions.jts.geom.Coordinate center,
com.vividsolutions.jts.geom.Coordinate start,
double angle)
|
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
center
protected com.vividsolutions.jts.geom.Coordinate center
start
protected com.vividsolutions.jts.geom.Coordinate start
radius
protected double radius
angle
protected double angle
arcTolerance
protected double arcTolerance
Arc
public Arc(com.vividsolutions.jts.geom.Coordinate center,
com.vividsolutions.jts.geom.Coordinate start,
double angle)
setArcTolerance
public void setArcTolerance(double arcTolerance)
getPoly
public com.vividsolutions.jts.geom.Polygon getPoly()
getLineString
public com.vividsolutions.jts.geom.LineString getLineString()
getCoordinates
public com.vividsolutions.jts.geom.CoordinateList getCoordinates()
arcAnglePts
protected com.vividsolutions.jts.geom.CoordinateList arcAnglePts(double angle,
com.vividsolutions.jts.geom.Coordinate pt,
com.vividsolutions.jts.geom.Coordinate center)
getPtsFromTolerance
protected int getPtsFromTolerance(double radius,
double angle,
double tolerance)