Class MirrorReceiver


  • public class MirrorReceiver
    extends Object
    Information for Receiver image.
    Author:
    Nicolas Fortin
    • Field Detail

      • receiverPos

        public org.locationtech.jts.geom.Coordinate receiverPos
      • reflectionPosition

        public org.locationtech.jts.geom.Coordinate reflectionPosition
      • 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 receiver
        parentMirror - Parent receiver, null for the first reflexion
        wall - 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
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object