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 Details

    • 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 Details

    • MirrorReceiver

      public MirrorReceiver(org.locationtech.jts.geom.Coordinate receiverPos, MirrorReceiver parentMirror, Wall wall)
      Parameters:
      receiverPos - coordinate of mirrored receiver
      parentMirror - Parent receiver, null for the first reflexion
      wall - Wall processed
    • MirrorReceiver

      public MirrorReceiver(MirrorReceiver cpy)
      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

      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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getType