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
FieldsModifier and TypeFieldDescriptiondoubleorg.locationtech.jts.geom.Coordinateintlong -
Constructor Summary
ConstructorsConstructorDescriptionSourcePointInfo(int sourceIndex, long sourcePrimaryKey, org.locationtech.jts.geom.Coordinate position, double li, Orientation orientation) SourcePointInfo(CutPointSource source) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(PathFinder.SourcePointInfo sourcePointInfo) booleanorg.locationtech.jts.geom.CoordinategetCoord()intlonginthashCode()
-
Field Details
-
li
public double li -
sourceIndex
public int sourceIndex -
sourcePk
public long sourcePk -
position
public org.locationtech.jts.geom.Coordinate position -
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
-
-
Method Details
-
getOrientation
-
getCoord
public org.locationtech.jts.geom.Coordinate getCoord() -
getSourceIndex
public int getSourceIndex() -
getSourcePk
public long getSourcePk() -
compareTo
- Specified by:
compareToin interfaceComparable<PathFinder.SourcePointInfo>- Parameters:
sourcePointInfo- the object to be compared.- Returns:
- 1, 0 or -1
-
equals
-
hashCode
public int hashCode()
-