Interface UnmodifiablePoint1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>

    • Method Detail

      • clamp

        default double clamp()
        Description copied from interface: Point1D
        Clamp the curviline coordinate to the segment.
        Specified by:
        clamp in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Returns:
        the amount that was removed from the coordinate. If the amount is negative it means that the coordinate was negative and clamped to zero. If the amount if positive it means that the coordinate was greater than the segment length and clamped to this length. If the amount is equal to zero it mean that the coordinate was not clamped.
      • add

        default void add​(double curvilineMove)
        Description copied from interface: Point1D
        Add the given values to this point.
        Specified by:
        add in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        curvilineMove - is the quantity to add to the curviline coordinate.
      • sub

        default void sub​(double curvilineMove)
        Description copied from interface: Point1D
        Substract the given values to this point.
        Specified by:
        sub in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        curvilineMove - is the quantity to substract to the curviline coordinate.
      • setCurvilineCoordinate

        default void setCurvilineCoordinate​(double curviline)
        Description copied from interface: Point1D
        Set the curviline coordinate.
        Specified by:
        setCurvilineCoordinate in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        curviline - is the curviline coordinate.
      • setLateralDistance

        default void setLateralDistance​(double shift)
        Description copied from interface: Point1D
        Set the shift distance.
        Specified by:
        setLateralDistance in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        shift - is the shift distance.
      • setSegment

        default void setSegment​(RS segment)
        Description copied from interface: Point1D
        Set the segment.
        Specified by:
        setSegment in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        segment - is the segment.
      • set

        default void set​(RS segment,
                         double curviline,
                         double shift)
        Description copied from interface: Point1D
        Set this point from the given informations.
        Specified by:
        set in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        segment - the segment
        curviline - the curviline coordinate
        shift - the jutting coordinate
      • set

        default void set​(RS segment,
                         Tuple2D<?> tuple)
        Description copied from interface: Point1D
        Set this point from the given informations.
        Specified by:
        set in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        segment - the segment
        tuple - are the coordinates of the point.
      • set

        default void set​(Point1D<? extends RP,​? extends RV,​? extends RS> point)
        Description copied from interface: Point1D
        Set this point from the given informations.
        Specified by:
        set in interface Point1D<RP extends Point1D<? super RP,​? super RV,​? super RS>,​RV extends Vector1D<? super RV,​? super RP,​? super RS>,​RS extends Segment1D<?,​?>>
        Parameters:
        point - are the coordinates of the point.