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

Reference for unit 'GraphMath': Procedures and functions

add(Extended,TFloatPoint):TFloatPoint

add(TFloatPoint,Extended):TFloatPoint

add(TFloatPoint,TFloatPoint):TFloatPoint

add(TFloatPoint,TPoint):TFloatPoint

add(TPoint,TFloatPoint):TFloatPoint

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

assign(TPoint):TFloatPoint

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

  

Gets the distance between two points, or the distance of a point from a specified line.

divide(TFloatPoint,Extended):TFloatPoint

divide(TFloatPoint,TFloatPoint):TFloatPoint

divide(TFloatPoint,TPoint):TFloatPoint

divide(TPoint,TFloatPoint):TFloatPoint

EccentricAngle

  

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

EllipsePolygon

  

Gets an array of points for a polygon which approximates an ellipse in the specified rectangle.

EllipseRadialLength

  

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

equal(TFloatPoint,TFloatPoint):Boolean

equal(TPoint,TPoint):Boolean

equal(TRect,TRect):Boolean

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

multiply(TFloatPoint,Extended):TFloatPoint

multiply(TFloatPoint,TFloatPoint):TFloatPoint

multiply(TFloatPoint,TPoint):TFloatPoint

multiply(TPoint,TFloatPoint):TFloatPoint

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).

SameRect

  

Indicates whether member in the specified rectangles have the same values.

SplitBezier

  

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

subtract(TFloatPoint,Extended):TFloatPoint

subtract(TFloatPoint,TFloatPoint):TFloatPoint

subtract(TFloatPoint,TPoint):TFloatPoint

subtract(TPoint,TFloatPoint):TFloatPoint


Version 4.0 Generated 2025-05-03 Home