Angle Functions


The functions below are useful for working with date and time. Many of these functions perform calculations while others perform conversions like DMS to degrees, and vice versa. The CImage class and others include some similar methods.

CalcAirmass

Calculates the airmass from celestial coordinates and time.

CalcSphAngle

Calculates the spherical angle between celestial or spherical coordinates.

DegToDms

Converts decimal degrees to a string containing degrees, minutes, and seconds.

DegToHms

Converts decimal degrees to a string containing hours, minutes, and seconds.

DmsToDeg

Converts an angle string containing degrees, minutes, and seconds to decimal degrees.

FormatAngle

Converts time in degrees, minutes, and seconds to a string.

FormatDmsStr

Formats an angle string containing various combinations of degrees, minutes, and seconds to a proper angle string.

HmsToDeg

Converts a time string containing hours, minutes, and seconds to decimal degrees.

HmsToHr

Converts a time string containing hours, minutes, and seconds to decimal hours.

HrToHms

Converts decimal hours to a time string containing hours, minutes, and seconds.

ParseDegrees

Converts a decimal degrees 3 numbers for hours, minutes, and seconds.

ParseDms

Converts a degrees string to degrees, minutes, and seconds.

ParseHms

Converts a time string to hours, minutes, and seconds.

ParseHours

Converts decimal hours to hours, minutes, and seconds.

Related Topics

Contents

Angle Measurement Definition

Date and Time Functions


Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.