Click or drag to resize
RandomAngle Class
A static class of extension methods for generating random angles within common ranges.
Inheritance Hierarchy
SystemObject
  Experilous.MakeItRandomRandomAngle

Namespace: Experilous.MakeItRandom
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static class RandomAngle

The RandomAngle type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAngleDegCC
Returns a random angle measured in degrees from the full range of rotation, greater than or equal to 0 degrees and less than or equal to 360 degrees.
Public methodStatic memberAngleDegCO
Returns a random angle measured in degrees from the full range of rotation, greater than or equal to 0 degrees and strictly less than 360 degrees.
Public methodStatic memberAngleDegOC
Returns a random angle measured in degrees from the full range of rotation, strictly greater than 0 degrees and less than or equal to 360 degrees.
Public methodStatic memberAngleDegOO
Returns a random angle measured in degrees from the full range of rotation, strictly greater than 0 degrees and strictly less than 360 degrees.
Public methodStatic memberAngleRadCC
Returns a random angle measured in radians from the full range of rotation, greater than or equal to 0 radians and less than or equal to 2π radians.
Public methodStatic memberAngleRadCO
Returns a random angle measured in radians from the full range of rotation, greater than or equal to 0 radians and strictly less than 2π radians.
Public methodStatic memberAngleRadOC
Returns a random angle measured in radians from the full range of rotation, strictly greater than 0 radians and less than or equal to 2π radians.
Public methodStatic memberAngleRadOO
Returns a random angle measured in radians from the full range of rotation, strictly greater than 0 radians and strictly less than 2π radians.
Public methodStatic memberHalfAngleDegCC
Returns a random angle measured in degrees from only half of the full range of rotation, greater than or equal to 0 degrees and less than or equal to 180 degrees.
Public methodStatic memberHalfAngleDegCO
Returns a random angle measured in degrees from only half of the full range of rotation, greater than or equal to 0 degrees and strictly less than 180 degrees.
Public methodStatic memberHalfAngleDegOC
Returns a random angle measured in degrees from only half of the full range of rotation, strictly greater than 0 degrees and less than or equal to 180 degrees.
Public methodStatic memberHalfAngleDegOO
Returns a random angle measured in degrees from only half of the full range of rotation, strictly greater than 0 degrees and strictly less than 180 degrees.
Public methodStatic memberHalfAngleRadCC
Returns a random angle measured in radians from only half of the full range of rotation, greater than or equal to 0 radians and less than or equal to π radians.
Public methodStatic memberHalfAngleRadCO
Returns a random angle measured in radians from only half of the full range of rotation, greater than or equal to 0 radians and strictly less than π radians.
Public methodStatic memberHalfAngleRadOC
Returns a random angle measured in radians from only half of the full range of rotation, strictly greater than 0 radians and less than or equal to π radians.
Public methodStatic memberHalfAngleRadOO
Returns a random angle measured in radians from only half of the full range of rotation, strictly greater than 0 radians and strictly less than π radians.
Public methodStatic memberMakeAngleDegCCGenerator
Returns an angle generator which will produce random degree values within the specified range.
Public methodStatic memberMakeAngleDegCOGenerator
Returns an angle generator which will produce random degree values within the specified range.
Public methodStatic memberMakeAngleDegOCGenerator
Returns an angle generator which will produce random degree values within the specified range.
Public methodStatic memberMakeAngleDegOOGenerator
Returns an angle generator which will produce random degree values within the specified range.
Public methodStatic memberMakeAngleRadCCGenerator
Returns an angle generator which will produce random radian values within the specified range.
Public methodStatic memberMakeAngleRadCOGenerator
Returns an angle generator which will produce random radian values within the specified range.
Public methodStatic memberMakeAngleRadOCGenerator
Returns an angle generator which will produce random radian values within the specified range.
Public methodStatic memberMakeAngleRadOOGenerator
Returns an angle generator which will produce random radian values within the specified range.
Public methodStatic memberSignedAngleDegCC
Returns a random angle measured in degrees from the full range of rotation, half a turn in either direction, greater than or equal to -180 degrees and less than or equal to +180 degrees.
Public methodStatic memberSignedAngleDegCO
Returns a random angle measured in degrees from the full range of rotation, half a turn in either direction, greater than or equal to -180 degrees and strictly less than +180 degrees.
Public methodStatic memberSignedAngleDegOC
Returns a random angle measured in degrees from the full range of rotation, half a turn in either direction, strictly greater than -180 degrees and less than or equal to +180 degrees.
Public methodStatic memberSignedAngleDegOO
Returns a random angle measured in degrees from the full range of rotation, half a turn in either direction, strictly greater than -180 degrees and strictly less than +180 degrees.
Public methodStatic memberSignedAngleRadCC
Returns a random angle measured in radians from the full range of rotation, half a turn in either direction, greater than or equal to -π radians and less than or equal to +π radians.
Public methodStatic memberSignedAngleRadCO
Returns a random angle measured in radians from the full range of rotation, half a turn in either direction, greater than or equal to -π radians and strictly less than +π radians.
Public methodStatic memberSignedAngleRadOC
Returns a random angle measured in radians from the full range of rotation, half a turn in either direction, strictly greater than -π radians and less than or equal to +π radians.
Public methodStatic memberSignedAngleRadOO
Returns a random angle measured in radians from the full range of rotation, half a turn in either direction, strictly greater than -π radians and strictly less than +π radians.
Public methodStatic memberSignedHalfAngleDegCC
Returns a random angle measured in degrees from only half of the full range of rotation, half a turn in either direction, greater than or equal to -90 degrees and less than or equal to +90 degrees.
Public methodStatic memberSignedHalfAngleDegCO
Returns a random angle measured in degrees from only half of the full range of rotation, half a turn in either direction, greater than or equal to -90 degrees and strictly less than +90 degrees.
Public methodStatic memberSignedHalfAngleDegOC
Returns a random angle measured in degrees from only half of the full range of rotation, half a turn in either direction, strictly greater than -90 degrees and less than or equal to +90 degrees.
Public methodStatic memberSignedHalfAngleDegOO
Returns a random angle measured in degrees from only half of the full range of rotation, half a turn in either direction, strictly greater than -90 degrees and strictly less than +90 degrees.
Public methodStatic memberSignedHalfAngleRadCC
Returns a random angle measured in radians from only half of the full range of rotation, half a turn in either direction, greater than or equal to -π/2 radians and less than or equal to +π/2 radians.
Public methodStatic memberSignedHalfAngleRadCO
Returns a random angle measured in radians from only half of the full range of rotation, half a turn in either direction, greater than or equal to -π/2 radians and strictly less than +π/2 radians.
Public methodStatic memberSignedHalfAngleRadOC
Returns a random angle measured in radians from only half of the full range of rotation, half a turn in either direction, strictly greater than -π/2 radians and less than or equal to +π/2 radians.
Public methodStatic memberSignedHalfAngleRadOO
Returns a random angle measured in radians from only half of the full range of rotation, half a turn in either direction, strictly greater than -π/2 radians and strictly less than +π/2 radians.
Top
See Also