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

Reference for unit 'GraphMath': Procedures and functions

add(Extended,TFloatPoint):TFloatPoint

  

Implements the Add operator (+) for values using the Extended and TFloatPoint types.

add(TFloatPoint,Extended):TFloatPoint

  

Implements the Add operator (+) for values using the TFloatPoint and Extended types.

add(TFloatPoint,TFloatPoint):TFloatPoint

  

Implements the Add operator (+) for values using the TFloatPoint type.

add(TFloatPoint,TPoint):TFloatPoint

  

Implements the Add operator (+) for values using the TFloatPoint and TPoint types.

add(TPoint,TFloatPoint):TFloatPoint

  

Implements the Add operator (+) for values using the TPoint and TFloatPoint types.

Angles2Coords

  

Converts an Eccentric Angle and an Angle-Length, into the coordinates for the Start and End radial Points.

Arc2Bezier

  

Converts an Arc and ArcLength into a Bezier Approximation of the Arc.

assign(TFloatPoint):TPoint

  

Implements the Assign operator (=) to store a value using the TFloatPoint type to a TPoint instance.

assign(TPoint):TFloatPoint

  

Implements the Assign operator (=) to store a value using the TPoint type to a TFloatPoint instance.

Bezier

  

Gets a TBezier instance representing the specified Bezier control points.

Bezier2Polyline

  

Bezier2Polyline - convert a 4-Point Bezier into a Pointer Array of TPoint and a Count variable.

BezierArcPoints

  

BezierArcPoints - convert an Arc and ArcLength into a Pointer Array of TPoints for use with Polyline or Polygon.

BezierMidPoint

  

BezierMidPoint - get the Mid-Point of any 4-Point Bezier. It is primarily for use in SplitBezier.

CalculateLeftTopWidthHeight

  

Calculates the values for the output variables in Left, Top, Width, and Height.

Coords2Angles

  

Coords2Angles - convert the coords for Start and End Radial- Points into an Eccentric counter clockwise Angle and an Angle-Length.

Distance

  

Get the Distance between any two Points. It is primarily for use in other routines such as EccentricAngle.

divide(TFloatPoint,Extended):TFloatPoint

  

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

divide(TFloatPoint,TFloatPoint):TFloatPoint

  

Implements the Divide operator (/) for values using the TFloatPoint type.

divide(TFloatPoint,TPoint):TFloatPoint

  

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

divide(TPoint,TFloatPoint):TFloatPoint

  

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

EccentricAngle

  

EccentricAngle - get the Eccentric Angle of a given point on any non-rotated ellipse.

EllipseRadialLength

  

EllipseRadialLength - Radial-Length of non-rotated ellipse at any given Eccentric Angle.

equal(TFloatPoint,TFloatPoint):Boolean

  

Implements the Equal operator (=) to compare values using the TFloatPoint type.

equal(TPoint,TPoint):Boolean

  

Implements the Equal operator (=) to compare values using the TPoint type.

equal(TRect,TRect):Boolean

  

Implements the Equal operator (=) to compare values using the TRect type.

FloatPoint

  

FloatPoint - it is essentially like Classes.Point in use, except that it accepts Extended Parameters. It is Primarily for use with and in Bezier routines.

LineEndPoint

  

LineEndPoint - get the End-Point of a line of any given Length at any given angle with any given Start-Point.

MakeMinMax

  

Ensures that the i1 argument is the smaller of the two Integer values.

MoveRect

  

Moves the specified rectangle to the origin in the x and y arguments.

MoveRectToFit

  

Moves and potentially resizes a rectangle to fit within the specified target rectangle.

multiply(Extended,TFloatPoint):TFloatPoint

  

Implements the Multiply operator (*) for values using the Extended and TFloatPoint types.

multiply(TFloatPoint,Extended):TFloatPoint

  

Implements the Multiply operator (*) for values using the TFloatPoint and Extended types.

multiply(TFloatPoint,TFloatPoint):TFloatPoint

  

Implements the Multiply operator (*) for values using the TFloatPoint type.

multiply(TFloatPoint,TPoint):TFloatPoint

  

Implements the Multiply operator (*) for values using the TFloatPoint and TPoint types.

multiply(TPoint,TFloatPoint):TFloatPoint

  

Implements the Multiply operator (*) for values using the TPoint and TFloatPoint types.

PolyBezier2Polyline

  

PolyBezier2Polyline - convert an array of 4-Point Bezier into a Pointer Array of TPoint and a Count variable.

PolyBezierArcPoints

  

PolyBezierArcPoints - convert an Arc and ArcLength into a Pointer Array of TPoints for use with Polyline or Polygon.

Quadrant

  

Determine the Quadrant of any point, given the Center.

RadialPoint

  

Get the RadialPoint at any given Eccentric angle on any non- rotated ellipse.

RotatePoint

  

Rotates a point around the origin by the specified angle (in radians).

RotateRect

  

Rotates a rectangle with the specified dimensions by the specified angle (in radians).

SplitBezier

  

SplitBezier - split any 4-Point Bezier into two 4-Point Beziers: a 'Left' and a 'Right'

subtract(TFloatPoint,Extended):TFloatPoint

  

Implements the Subtract operator (-) for values using the TFloatPoint and Extended types.

subtract(TFloatPoint,TFloatPoint):TFloatPoint

  

Implements the Subtract operator (-) for values using the TFloatPoint type.

subtract(TFloatPoint,TPoint):TFloatPoint

  

Implements the Subtract operator (-) for values using the TFloatPoint and TPoint types.

subtract(TPoint,TFloatPoint):TFloatPoint

  

Implements the Subtract operator (-) for values using the TPoint and TFloatPoint types.


Version 3.2 Generated 2024-02-25 Home