Model Railroad System  2.2.1
Functions | Variables
GRSupport Namespace Reference

Code to support the various graphics packages. More...

Functions

 _ROPI2 (name1, name2, op)
 A variable trace to enforce the read-only-ness of PI2. More...
 
 _ROPI (name1, name2, op)
 A variable trace to enforce the read-only-ness of PI. More...
 
 DegreesToRadians (degrees)
 Function to convert from degrees to radians. More...
 
 RadiansToDegrees (rads)
 Function to convert from radians to degrees. More...
 
 VerifyDoubleMethod ()
 Snit macro defining a validate method for doubles. More...
 
 VerifyBooleanMethod ()
 Snit macro defining a validate method for booleans. More...
 
 VerifyIntegerMethod ()
 Snit macro defining a validate method integers. More...
 
 VerifyOrientationHVMethod ()
 Snit macro defining a validate method for orientation (horizontal or vertical). More...
 
 VerifyColorMethod ()
 Snit macro defining a validate method for colors. More...
 

Variables

 PI2
 Variable containing $\pi/2$. More...
 
 PI
 Variable containing $\pi$. More...
 

Detailed Description

Code to support the various graphics packages.

Namespace where all of the graphics support code lives.

Author
Robert Heller <heller@deepsoft.com>

Package provided

grsupport 2.0

Function Documentation

◆ _ROPI()

GRSupport::_ROPI ( name1  ,
name2  ,
op   
)
private

A variable trace to enforce the read-only-ness of PI.

◆ _ROPI2()

GRSupport::_ROPI2 ( name1  ,
name2  ,
op   
)
private

A variable trace to enforce the read-only-ness of PI2.

◆ DegreesToRadians()

GRSupport::DegreesToRadians ( degrees  )

Function to convert from degrees to radians.

Parameters
degreesValue to convert to radians.

◆ RadiansToDegrees()

GRSupport::RadiansToDegrees ( rads  )

Function to convert from radians to degrees.

Parameters
radsValue to convert to degrees.

◆ VerifyBooleanMethod()

GRSupport::VerifyBooleanMethod ( )

Snit macro defining a validate method for booleans.

◆ VerifyColorMethod()

GRSupport::VerifyColorMethod ( )

Snit macro defining a validate method for colors.

◆ VerifyDoubleMethod()

GRSupport::VerifyDoubleMethod ( )

Snit macro defining a validate method for doubles.

◆ VerifyIntegerMethod()

GRSupport::VerifyIntegerMethod ( )

Snit macro defining a validate method integers.

◆ VerifyOrientationHVMethod()

GRSupport::VerifyOrientationHVMethod ( )

Snit macro defining a validate method for orientation (horizontal or vertical).

Variable Documentation

◆ PI

GRSupport::PI

Variable containing $\pi$.

This variable is read-only.

◆ PI2

GRSupport::PI2

Variable containing $\pi/2$.

This variable is read-only.