VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

DegreesToXYsubroutine

Found on the World Wide Web  (15 Submissions)   Custom Controls/Forms/Menus   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.

Inputs
Pass the subroutine the center X, Y of your ellipse, the degree position, and the horizontal and vertical radii (if they are equal, you're specifying a circle, if not, it is an elongated ellipse).

Returns
Returns the coordinates in the X and Y parameters.

Rate DegreesToXYsubroutine (5(5 Vote))
DegreesToXYsubroutine.bas

DegreesToXYsubroutine Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters