Skip to content

Types unit: TPointF misses Rotate, Reflect, MidPoint, PtInCircle, Angle, AngleCosine

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Types.TPointF

code is in the delphi wiki - I mean full code, see it there.

  TPointF Rotate(float Angle) const _ALWAYS_INLINE {
  ..
  }

TPointF Reflect(const TPointF& P) const _ALWAYS_INLINE {
  ..
  }

  TPointF MidPoint(const TPointF &P) const _ALWAYS_INLINE {
   ..
  }
Edited by Alexey Torgashin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information