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

TBezier

Array type used to store the coordinates for Bezier control points as floating point values.

Declaration

Source position: graphmath.pp line 42

type TBezier = array [0..3] of TFloatPoint;

Description

TBezier allows up to 4 coordinates to be specified which represent the control points for the parametric curve. Each coordinate is implemented using the TFloatPoint type, and stored as elements in the array.

TBezier is the type returned by the Bezier function. The type is passed as an argument to routines like: Arc2Bezier, Bezier2Polyline, BezierMidPoint, and SplitBezier.

See also

Bezier

  

Gets a TBezier instance representing the specified Bezier control points.

Arc2Bezier

  

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

Bezier2Polyline

  

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

BezierMidPoint

  

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

SplitBezier

  

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


Version 4.0 Generated 2025-05-03 Home