Class LinearSegment_MPARTC

    • Field Detail

      • rtc_segment

        private ch.ethz.rtc.kernel.Segment rtc_segment
    • Constructor Detail

      • LinearSegment_MPARTC

        public LinearSegment_MPARTC​(double x,
                                    double y,
                                    double s)
      • LinearSegment_MPARTC

        public LinearSegment_MPARTC​(LinearSegment segment)
      • LinearSegment_MPARTC

        public LinearSegment_MPARTC​(ch.ethz.rtc.kernel.Segment segment)
      • LinearSegment_MPARTC

        public LinearSegment_MPARTC​(java.lang.String segment_str)
    • Method Detail

      • setRtc_segment

        public void setRtc_segment​(ch.ethz.rtc.kernel.Segment rtc_segment)
      • setX

        public void setX​(double x)
      • setY

        public void setY​(double y)
      • isLeftopen

        public boolean isLeftopen()
        MPA RTC implementation does not allow for user defined continuity. Left-continuity is assumed by default.
        Specified by:
        isLeftopen in interface LinearSegment
      • setLeftopen

        public void setLeftopen​(boolean leftopen)
        MPA RTC implementation does not allow for user defined continuity. Left-continuity is assumed by default.
        Specified by:
        setLeftopen in interface LinearSegment
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface LinearSegment
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface LinearSegment
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface LinearSegment
        Overrides:
        hashCode in class java.lang.Object