Class MirrorReceiver
- java.lang.Object
-
- org.noise_planet.noisemodelling.pathfinder.path.MirrorReceiver
-
public class MirrorReceiver extends Object
Information for Receiver image.- Author:
- Nicolas Fortin
-
-
Field Summary
Fields Modifier and Type Field Description MirrorReceiverparentMirrororg.locationtech.jts.geom.CoordinatereceiverPosorg.locationtech.jts.geom.CoordinatereflectionPositionWallwall
-
Constructor Summary
Constructors Constructor Description MirrorReceiver(org.locationtech.jts.geom.Coordinate receiverPos, MirrorReceiver parentMirror, Wall wall)MirrorReceiver(MirrorReceiver cpy)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MirrorReceivercopyWithoutCone()booleanequals(Object o)org.locationtech.jts.geom.PolygongetImageReceiverVisibilityCone()MirrorReceivergetParentMirror()org.locationtech.jts.geom.CoordinategetReceiverPos()org.locationtech.jts.geom.CoordinategetReflectionPosition()ProfileBuilder.IntersectionTypegetType()WallgetWall()inthashCode()voidsetImageReceiverVisibilityCone(org.locationtech.jts.geom.Polygon imageReceiverVisibilityCone)voidsetReceiverPos(org.locationtech.jts.geom.Coordinate receiverPos)voidsetReflectionPosition(org.locationtech.jts.geom.Coordinate reflectionPosition)
-
-
-
Field Detail
-
receiverPos
public org.locationtech.jts.geom.Coordinate receiverPos
-
reflectionPosition
public org.locationtech.jts.geom.Coordinate reflectionPosition
-
parentMirror
public final MirrorReceiver parentMirror
-
wall
public final Wall wall
-
-
Constructor Detail
-
MirrorReceiver
public MirrorReceiver(org.locationtech.jts.geom.Coordinate receiverPos, MirrorReceiver parentMirror, Wall wall)- Parameters:
receiverPos- coordinate of mirrored receiverparentMirror- Parent receiver, null for the first reflexionwall- Wall processed
-
MirrorReceiver
public MirrorReceiver(MirrorReceiver cpy)
Copy constructor- Parameters:
cpy- ref
-
-
Method Detail
-
getReceiverPos
public org.locationtech.jts.geom.Coordinate getReceiverPos()
- Returns:
- coordinate of mirrored receiver
-
setReceiverPos
public void setReceiverPos(org.locationtech.jts.geom.Coordinate receiverPos)
-
getReflectionPosition
public org.locationtech.jts.geom.Coordinate getReflectionPosition()
- Returns:
- The coordinate of the reflexion of the ray on the mirror receiver. To be known the source point must have been defined
-
setReflectionPosition
public void setReflectionPosition(org.locationtech.jts.geom.Coordinate reflectionPosition)
- Parameters:
reflectionPosition- The coordinate of the reflexion of the ray on the mirror receiver. To be known the source point must have been defined
-
copyWithoutCone
public MirrorReceiver copyWithoutCone()
-
getParentMirror
public MirrorReceiver getParentMirror()
- Returns:
- Other MirrorReceiver index, -1 for the first reflexion
-
getWall
public Wall getWall()
- Returns:
- Wall index of the last mirrored processed
-
getImageReceiverVisibilityCone
public org.locationtech.jts.geom.Polygon getImageReceiverVisibilityCone()
-
setImageReceiverVisibilityCone
public void setImageReceiverVisibilityCone(org.locationtech.jts.geom.Polygon imageReceiverVisibilityCone)
-
getType
public ProfileBuilder.IntersectionType getType()
-
-