Package org.openjump.core.geomutils
Class Arc
- java.lang.Object
-
- org.openjump.core.geomutils.Arc
-
-
Field Summary
Fields Modifier and Type Field Description protected doubleangleprotected doublearcToleranceprotected org.locationtech.jts.geom.Coordinatecenterprotected doubleradiusprotected org.locationtech.jts.geom.Coordinatestart
-
Constructor Summary
Constructors Constructor Description Arc(org.locationtech.jts.geom.Coordinate center, org.locationtech.jts.geom.Coordinate start, double angle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.locationtech.jts.geom.CoordinateListarcAnglePts(double angle, org.locationtech.jts.geom.Coordinate pt, org.locationtech.jts.geom.Coordinate center)org.locationtech.jts.geom.CoordinateListgetCoordinates()org.locationtech.jts.geom.PointgetLastPointArc()org.locationtech.jts.geom.LineStringgetLineString()org.locationtech.jts.geom.PointgetMiddlePointArc()org.locationtech.jts.geom.PolygongetPoly()protected intgetPtsFromTolerance(double radius, double angle, double tolerance)voidsetArcTolerance(double arcTolerance)
-
-
-
Method Detail
-
setArcTolerance
public void setArcTolerance(double arcTolerance)
-
getPoly
public org.locationtech.jts.geom.Polygon getPoly()
-
getLineString
public org.locationtech.jts.geom.LineString getLineString()
-
getLastPointArc
public org.locationtech.jts.geom.Point getLastPointArc()
-
getMiddlePointArc
public org.locationtech.jts.geom.Point getMiddlePointArc()
-
getCoordinates
public org.locationtech.jts.geom.CoordinateList getCoordinates()
-
arcAnglePts
protected org.locationtech.jts.geom.CoordinateList arcAnglePts(double angle, org.locationtech.jts.geom.Coordinate pt, org.locationtech.jts.geom.Coordinate center)
-
getPtsFromTolerance
protected int getPtsFromTolerance(double radius, double angle, double tolerance)
-
-