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 MirrorReceiver
parentMirror
org.locationtech.jts.geom.Coordinate
receiverPos
org.locationtech.jts.geom.Coordinate
reflectionPosition
Wall
wall
-
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 MirrorReceiver
copyWithoutCone()
boolean
equals(Object o)
org.locationtech.jts.geom.Polygon
getImageReceiverVisibilityCone()
MirrorReceiver
getParentMirror()
org.locationtech.jts.geom.Coordinate
getReceiverPos()
org.locationtech.jts.geom.Coordinate
getReflectionPosition()
ProfileBuilder.IntersectionType
getType()
Wall
getWall()
int
hashCode()
void
setImageReceiverVisibilityCone(org.locationtech.jts.geom.Polygon imageReceiverVisibilityCone)
void
setReceiverPos(org.locationtech.jts.geom.Coordinate receiverPos)
void
setReflectionPosition(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()
-
-