Package sec.geo

Class GeoPath

java.lang.Object
sec.geo.GeoPath
All Implemented Interfaces:
Shape
Direct Known Subclasses:
GeoArc, GeoBlock, GeoBlock2, GeoEllipse

public class GeoPath extends Object implements Shape
  • Field Details

  • Constructor Details

    • GeoPath

      public GeoPath()
    • GeoPath

      public GeoPath(double maxDistanceMeters, double flatnessDistanceMeters, int limit)
  • Method Details

    • moveTo

      public void moveTo(GeoPoint point)
    • moveTo

      public void moveTo(double longitudeDegrees, double latitudeDegrees)
    • lineTo

      public void lineTo(GeoPoint point)
    • lineTo

      public void lineTo(double longitudeDegrees, double latitudeDegrees)
    • arcTo

      public void arcTo(GeoPoint pivot, double widthMeters, double heightMeters, double leftAzimuthDegrees, double rightAzimuthDegrees)
    • getToPoints

      public List<GeoPoint> getToPoints()
    • closePath

      public void closePath()
    • contains

      public boolean contains(Point2D p)
      Specified by:
      contains in interface Shape
    • contains

      public boolean contains(Rectangle2D r)
      Specified by:
      contains in interface Shape
    • contains

      public boolean contains(double x, double y)
      Specified by:
      contains in interface Shape
    • contains

      public boolean contains(double x, double y, double w, double h)
      Specified by:
      contains in interface Shape
    • getBounds

      public Rectangle getBounds()
      Specified by:
      getBounds in interface Shape
    • getBounds2D

      public Rectangle2D getBounds2D()
      Specified by:
      getBounds2D in interface Shape
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at)
      Specified by:
      getPathIterator in interface Shape
    • getPathIterator

      public PathIterator getPathIterator(AffineTransform at, double flatness)
      Specified by:
      getPathIterator in interface Shape
    • intersects

      public boolean intersects(Rectangle2D r)
      Specified by:
      intersects in interface Shape
    • intersects

      public boolean intersects(double x, double y, double w, double h)
      Specified by:
      intersects in interface Shape
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toGlobalCoord

      protected GlobalCoordinates toGlobalCoord(GeoPoint point)
    • getPath

      public Path2D getPath()