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 double
li
Orientation
orientation
org.locationtech.jts.geom.Coordinate
position
int
sourceIndex
long
sourcePk
-
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 int
compareTo(PathFinder.SourcePointInfo sourcePointInfo)
boolean
equals(Object o)
org.locationtech.jts.geom.Coordinate
getCoord()
Orientation
getOrientation()
int
getSourceIndex()
long
getSourcePk()
int
hashCode()
-
-
-
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:
compareTo
in interfaceComparable<PathFinder.SourcePointInfo>
- Parameters:
sourcePointInfo
- the object to be compared.- Returns:
- 1, 0 or -1
-
-