IntGeomExtensions
Extension methods class for Int, for the geom package.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Converts this Int into an absolute angle of the given degrees from 0 until 360 degrees.
Converts this Int into an absolute angle of the given degrees from 0 until 360 degrees.
Attributes
Degrees rotation clockwise. Converts this Int into an AngleVec a negative angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.
Degrees rotation clockwise. Converts this Int into an AngleVec a negative angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.
Attributes
Degrees rotation anti-clockwise. Converts this Int into an AngleVec a positive angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.
Degrees rotation anti-clockwise. Converts this Int into an AngleVec a positive angle of rotation. Can return values greater than 360 degrees and less than -360 degrees.
Attributes
Returns this Int value in Gigametres.
Returns this Int value in Kilares, Kilometres². kilares folows the same naming convention as Hectaress.
Returns this Int value in Kilares, Kilometres². kilares folows the same naming convention as Hectaress.
Attributes
Returns this Int value in Kilometres.
Returns this Int value in Megametres.
Succinct syntax for creating 2-dimensional points Pt2s, from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example
Succinct syntax for creating 2-dimensional vectors, Vec2s from 2 numbers. Note the low precedence of this method relative to most numerical operators. A third number as example