Class BuildingIntersectionPathVisitor
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.profilebuilder.BuildingIntersectionPathVisitor
-
- All Implemented Interfaces:
org.locationtech.jts.index.ItemVisitor
public final class BuildingIntersectionPathVisitor extends Object implements org.locationtech.jts.index.ItemVisitor
-
-
Constructor Summary
Constructors Constructor Description BuildingIntersectionPathVisitor(org.locationtech.jts.geom.Coordinate p1, org.locationtech.jts.geom.Coordinate p2, boolean left, ProfileBuilder profileBuilder, List<org.locationtech.jts.geom.Coordinate> input, org.apache.commons.math3.geometry.euclidean.threed.Plane cutPlane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItem(int id)
void
setIntersectionLine(org.locationtech.jts.geom.LineSegment segment)
void
visitItem(Object item)
-
-
-
Constructor Detail
-
BuildingIntersectionPathVisitor
public BuildingIntersectionPathVisitor(org.locationtech.jts.geom.Coordinate p1, org.locationtech.jts.geom.Coordinate p2, boolean left, ProfileBuilder profileBuilder, List<org.locationtech.jts.geom.Coordinate> input, org.apache.commons.math3.geometry.euclidean.threed.Plane cutPlane)
-
-
Method Detail
-
setIntersectionLine
public void setIntersectionLine(org.locationtech.jts.geom.LineSegment segment)
- Parameters:
segment
- When visit an item, only add the walls in the hull points input if it intersects with the segment in argument
-
visitItem
public void visitItem(Object item)
- Specified by:
visitItem
in interfaceorg.locationtech.jts.index.ItemVisitor
- Parameters:
item
- the index item to be visited
-
addItem
public void addItem(int id)
- Parameters:
id
-
-
-