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 Summary
Fields Modifier and Type Field Description doubleliOrientationorientationorg.locationtech.jts.geom.CoordinatepositionintsourceIndexlongsourcePk
-
Constructor Summary
Constructors Constructor Description SourcePointInfo()SourcePointInfo(int sourceIndex, long sourcePrimaryKey, org.locationtech.jts.geom.Coordinate position, double li, Orientation orientation)SourcePointInfo(CutPointSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PathFinder.SourcePointInfo sourcePointInfo)booleanequals(Object o)org.locationtech.jts.geom.CoordinategetCoord()OrientationgetOrientation()intgetSourceIndex()longgetSourcePk()inthashCode()
-
-
-
Field Detail
-
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 Detail
-
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 Detail
-
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:
compareToin interfaceComparable<PathFinder.SourcePointInfo>- Parameters:
sourcePointInfo- the object to be compared.- Returns:
- 1, 0 or -1
-
-