Class MirrorReceiver
java.lang.Object
org.noise_planet.noisemodelling.pathfinder.path.MirrorReceiver
Information for Receiver image.
- Author:
- Nicolas Fortin
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MirrorReceiverorg.locationtech.jts.geom.Coordinateorg.locationtech.jts.geom.Coordinatefinal Wall -
Constructor Summary
ConstructorsConstructorDescriptionMirrorReceiver(org.locationtech.jts.geom.Coordinate receiverPos, MirrorReceiver parentMirror, Wall wall) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.locationtech.jts.geom.Polygonorg.locationtech.jts.geom.Coordinateorg.locationtech.jts.geom.CoordinategetType()getWall()inthashCode()voidsetImageReceiverVisibilityCone(org.locationtech.jts.geom.Polygon imageReceiverVisibilityCone) voidsetReceiverPos(org.locationtech.jts.geom.Coordinate receiverPos) voidsetReflectionPosition(org.locationtech.jts.geom.Coordinate reflectionPosition)
-
Field Details
-
receiverPos
public org.locationtech.jts.geom.Coordinate receiverPos -
reflectionPosition
public org.locationtech.jts.geom.Coordinate reflectionPosition -
parentMirror
-
wall
-
-
Constructor Details
-
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
Copy constructor- Parameters:
cpy- ref
-
-
Method Details
-
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
-
getParentMirror
- Returns:
- Other MirrorReceiver index, -1 for the first reflexion
-
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) -
equals
-
hashCode
public int hashCode() -
getType
-