Class Arc
java.lang.Object
org.openjump.core.geomutils.Arc
- Direct Known Subclasses:
Circle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected org.locationtech.jts.geom.Coordinateprotected doubleprotected org.locationtech.jts.geom.Coordinate -
Constructor Summary
ConstructorsConstructorDescriptionArc(org.locationtech.jts.geom.Coordinate center, org.locationtech.jts.geom.Coordinate start, double angle) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.locationtech.jts.geom.CoordinateListarcAnglePts(double angle, org.locationtech.jts.geom.Coordinate pt, org.locationtech.jts.geom.Coordinate center) org.locationtech.jts.geom.CoordinateListorg.locationtech.jts.geom.Pointorg.locationtech.jts.geom.LineStringorg.locationtech.jts.geom.Pointorg.locationtech.jts.geom.PolygongetPoly()protected intgetPtsFromTolerance(double radius, double angle, double tolerance) voidsetArcTolerance(double arcTolerance)
-
Field Details
-
center
protected org.locationtech.jts.geom.Coordinate center -
start
protected org.locationtech.jts.geom.Coordinate start -
radius
protected double radius -
angle
protected double angle -
arcTolerance
protected double arcTolerance
-
-
Constructor Details
-
Arc
public Arc(org.locationtech.jts.geom.Coordinate center, org.locationtech.jts.geom.Coordinate start, double angle)
-
-
Method Details
-
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)
-