Class Arc

java.lang.Object
org.openjump.core.geomutils.Arc
Direct Known Subclasses:
Circle

public class Arc extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected double
     
    protected double
     
    protected org.locationtech.jts.geom.Coordinate
     
    protected double
     
    protected org.locationtech.jts.geom.Coordinate
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Arc(org.locationtech.jts.geom.Coordinate center, org.locationtech.jts.geom.Coordinate start, double angle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.locationtech.jts.geom.CoordinateList
    arcAnglePts(double angle, org.locationtech.jts.geom.Coordinate pt, org.locationtech.jts.geom.Coordinate center)
     
    org.locationtech.jts.geom.CoordinateList
     
    org.locationtech.jts.geom.Point
     
    org.locationtech.jts.geom.LineString
     
    org.locationtech.jts.geom.Point
     
    org.locationtech.jts.geom.Polygon
     
    protected int
    getPtsFromTolerance(double radius, double angle, double tolerance)
     
    void
    setArcTolerance(double arcTolerance)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)