Class PathFinder.SourcePointInfo

java.lang.Object
org.noise_planet.noisemodelling.pathfinder.PathFinder.SourcePointInfo
All Implemented Interfaces:
Comparable<PathFinder.SourcePointInfo>
Enclosing class:
PathFinder

public static final class PathFinder.SourcePointInfo extends Object implements Comparable<PathFinder.SourcePointInfo>
Attributes of the source point
  • Field Details

    • li

      public double li
    • sourceIndex

      public int sourceIndex
    • sourcePk

      public long sourcePk
    • position

      public org.locationtech.jts.geom.Coordinate position
    • orientation

      public Orientation orientation
  • Constructor Details

    • SourcePointInfo

      public SourcePointInfo()
    • SourcePointInfo

      public SourcePointInfo(int sourceIndex, long sourcePrimaryKey, org.locationtech.jts.geom.Coordinate position, double li, Orientation orientation)
      Parameters:
      sourcePrimaryKey -
      position -
    • SourcePointInfo

      public SourcePointInfo(CutPointSource source)
  • Method Details

    • getOrientation

      public Orientation getOrientation()
    • getCoord

      public org.locationtech.jts.geom.Coordinate getCoord()
    • getSourceIndex

      public int getSourceIndex()
    • getSourcePk

      public long getSourcePk()
    • compareTo

      public int compareTo(PathFinder.SourcePointInfo sourcePointInfo)
      Specified by:
      compareTo in interface Comparable<PathFinder.SourcePointInfo>
      Parameters:
      sourcePointInfo - the object to be compared.
      Returns:
      1, 0 or -1
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object