[Overview][Types][Procedures and functions][Index] Reference for unit 'GraphMath' (#lazutils)

divide(TFloatPoint,Extended):TFloatPoint

Implements the Divide operator (/) for values using the TFloatPoint and Extended types.

Declaration

Source position: graphmath.pp line 125

operator operator /(

  const Dividend: TFloatPoint;

  Divisor: Extended

):TFloatPoint;

Description

The value in the Extended type is applied to both the X and Y members in the TFloatPoint type and used in the result for the operator. No validation is performed for the divisor in the operator.