JCL Help:CartesianToPolar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Converts cartesian to polar coordinates.


Pascal

 procedure CartesianToPolar(const X: Float; const Y: Float; out R: Float; out Phi: Float);


Parameters

Parameters Description
const X: Float X element of the coordinate in the cartesian system to convert.
const Y: Float Y element of the coordinate in the cartesian system to convert.
Rho Receives the Rho part of the converted coordinate.
Theta Receives the Theta part of the converted coordinate.


Description

CartesianToPolar converts the supplied coordinates from the cartesian (or rectangular) system to the corresponding coordinates in the polar coordinate system.


See Also

PolarToCartesian


About

Unit

JclUnitConv


Donator

ESB Consultancy


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page