Download Now

    Reference TSlope2

    Declared in Codebot.Geometry.pas on line 368

    TSlope2 is the slope and y intercept of a 2d line
      TSlope2 = record
      public
        { Undefined is true when the line is vertical }
        Undefined: Boolean;
        { The rise over run of the line }
        Ratio: Float;
        { The y value where the line crosses the y axis }
        Intercept: Float;
      end;

    See also

    Float in Codebot.System.pas