src/main/java/org/a05annex/util/geo2d/KochanekBartelsSpline.java
protected void resetSegment() {
            if (null == m_thisSegmentEnd) {
                // we are done with this spline, just return.
                return;
            }
            m_thisSegmentEnd.pkgComputeTangentInOut();
            m_segment[0][0] = m_thisSegmentStart.m_fieldX;
            m_segment[1][0] = m_thisSegmentEnd.m_fieldX;
            m_segment[2][0] = m_thisSegmentStart.m_dXout;
            m_segment[3][0] = m_thisSegmentEnd.m_dXin;
            m_segment[0][1] = m_thisSegmentStart.m_fieldY;
            m_segment[1][1] = m_thisSegmentEnd.m_fieldY;
            m_segment[2][1] = m_thisSegmentStart.m_dYout;
            m_segment[3][1] = m_thisSegmentEnd.m_dYin;
            m_segment[0][2] = m_thisSegmentStart.m_fieldHeading;
            m_segment[1][2] = m_thisSegmentEnd.m_fieldHeading;
            m_segment[2][2] = m_thisSegmentStart.m_dHeadingOut;
            m_segment[3][2] = m_thisSegmentEnd.m_dHeadingIn;
        }
/**
         * Reset the {@link #m_segment} matrix when the control points for the segment are advanced.
         */
Reset the  #m_segment matrix when the control points for the segment are advanced.
Reset the #m_segment matrix when the control points for the segment are advanced .
protected void resetSegment() {
            if (null == m_thisSegmentEnd) {
                return;
            }
            m_thisSegmentEnd.pkgComputeTangentInOut();
            m_segment[0][0] = m_thisSegmentStart.m_fieldX;
            m_segment[1][0] = m_thisSegmentEnd.m_fieldX;
            m_segment[2][0] = m_thisSegmentStart.m_dXout;
            m_segment[3][0] = m_thisSegmentEnd.m_dXin;
            m_segment[0][1] = m_thisSegmentStart.m_fieldY;
            m_segment[1][1] = m_thisSegmentEnd.m_fieldY;
            m_segment[2][1] = m_thisSegmentStart.m_dYout;
            m_segment[3][1] = m_thisSegmentEnd.m_dYin;
            m_segment[0][2] = m_thisSegmentStart.m_fieldHeading;
            m_segment[1][2] = m_thisSegmentEnd.m_fieldHeading;
            m_segment[2][2] = m_thisSegmentStart.m_dHeadingOut;
            m_segment[3][2] = m_thisSegmentEnd.m_dHeadingIn;
        }
protected void resetSegment ( ) { if ( null == m_thisSegmentEnd ) { return ; } m_thisSegmentEnd . pkgComputeTangentInOut ( ) ; m_segment [ 0 ] [ 0 ] = m_thisSegmentStart . m_fieldX ; m_segment [ 1 ] [ 0 ] = m_thisSegmentEnd . m_fieldX ; m_segment [ 2 ] [ 0 ] = m_thisSegmentStart . m_dXout ; m_segment [ 3 ] [ 0 ] = m_thisSegmentEnd . m_dXin ; m_segment [ 0 ] [ 1 ] = m_thisSegmentStart . m_fieldY ; m_segment [ 1 ] [ 1 ] = m_thisSegmentEnd . m_fieldY ; m_segment [ 2 ] [ 1 ] = m_thisSegmentStart . m_dYout ; m_segment [ 3 ] [ 1 ] = m_thisSegmentEnd . m_dYin ; m_segment [ 0 ] [ 2 ] = m_thisSegmentStart . m_fieldHeading ; m_segment [ 1 ] [ 2 ] = m_thisSegmentEnd . m_fieldHeading ; m_segment [ 2 ] [ 2 ] = m_thisSegmentStart . m_dHeadingOut ; m_segment [ 3 ] [ 2 ] = m_thisSegmentEnd . m_dHeadingIn ; }
Reset the {@link #m_segment} matrix when the control points for the segment are advanced.
Reset the { @link #m_segment } matrix when the control points for the segment are advanced .
// we are done with this spline, just return.