TPointF

Declaration

Source position: types.pp line 107

Type
TPointF = packed record
public
  x : Single;
  y : Single;
  Add;
  function Distance(const apt: TPointF) : Single;
  function DotProduct(const apt: TPointF) : Single;
  function IsZero : Boolean;
  Subtract;
  SetLocation;
  Offset;
  function Scale(afactor: Single) : TPointF;
  function Ceiling : TPoint;
  function Truncate : TPoint;
  function Floor : TPoint;
  function Round : TPoint;
  function &Length : Single;
  Create;
  TPointF.class operator =(const apt1: TPointF; const apt2: TPointF)
                           : Boolean;
  TPointF.class operator <>(const apt1: TPointF; const apt2: TPointF)
                            : Boolean;
  TPointF.class operator +(const apt1: TPointF; const apt2: TPointF)
                           : TPointF;
  TPointF.class operator -(const apt1: TPointF; const apt2: TPointF)
                           : TPointF;
  TPointF.class operator -(const apt1: TPointF) : TPointF;
  TPointF.class operator \*(const apt1: TPointF; const apt2: TPointF)
                           : Single;
  TPointF.class operator \*(const apt1: TPointF; afactor: single) : TPointF;
  TPointF.class operator \*(afactor: single; const apt1: TPointF) : TPointF;
end