Space Engineers
|
Fixed point number represented as 64-bit integer with 6 decimal places (one millionts) More...
Public Member Functions | |
string | SerializeString () |
For XmlSerialization, format is 123.456789 More... | |
int | ToIntSafe () |
override string | ToString () |
override int | GetHashCode () |
override bool | Equals (object obj) |
XmlSchema IXmlSerializable. | GetSchema () |
void IXmlSerializable. | ReadXml (XmlReader reader) |
void IXmlSerializable. | WriteXml (XmlWriter writer) |
Public Attributes | |
const int | Places = 6 |
const int | Divider = 1000000 |
long | RawValue |
Static Public Attributes | |
static readonly string | FormatSpecifier = "D" + (Places + 1) |
static readonly char[] | TrimChars = new char[] { '0' } |
static readonly MyFixedPoint | MinValue = new MyFixedPoint(long.MinValue) |
static readonly MyFixedPoint | MaxValue = new MyFixedPoint(long.MaxValue) |
static readonly MyFixedPoint | Zero = new MyFixedPoint(0L) |
static readonly MyFixedPoint | SmallestPossibleValue = new MyFixedPoint(1) |
static readonly MyFixedPoint | MaxIntValue = (MyFixedPoint)int.MaxValue |
static readonly MyFixedPoint | MinIntValue = (MyFixedPoint)int.MinValue |
Fixed point number represented as 64-bit integer with 6 decimal places (one millionts)
Definition at line 22 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 265 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 160 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 91 of file MyFixedPoint.cs.
|
inlinestatic |
For XmlSerialization, format is 123.456789 Handles double and decimal formats too.
Definition at line 65 of file MyFixedPoint.cs.
|
inline |
Definition at line 342 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 166 of file MyFixedPoint.cs.
|
inline |
Definition at line 337 of file MyFixedPoint.cs.
|
inline |
Definition at line 354 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 155 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 177 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 172 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 270 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 275 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 280 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 285 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 290 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 135 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 145 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 140 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 150 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 111 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 118 of file MyFixedPoint.cs.
|
inlineexplicitstatic |
Definition at line 125 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 130 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 218 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 235 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 245 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 250 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 255 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 260 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 223 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 188 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 229 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 193 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 203 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 213 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 198 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 208 of file MyFixedPoint.cs.
|
inline |
Definition at line 359 of file MyFixedPoint.cs.
|
inlinestatic |
Definition at line 182 of file MyFixedPoint.cs.
|
inline |
For XmlSerialization, format is 123.456789
Definition at line 50 of file MyFixedPoint.cs.
|
inline |
Definition at line 325 of file MyFixedPoint.cs.
|
inline |
Definition at line 332 of file MyFixedPoint.cs.
|
inline |
Definition at line 365 of file MyFixedPoint.cs.
const int VRage.MyFixedPoint.Divider = 1000000 |
Definition at line 28 of file MyFixedPoint.cs.
|
static |
Definition at line 29 of file MyFixedPoint.cs.
|
static |
Definition at line 36 of file MyFixedPoint.cs.
|
static |
Definition at line 33 of file MyFixedPoint.cs.
|
static |
Definition at line 37 of file MyFixedPoint.cs.
|
static |
Definition at line 32 of file MyFixedPoint.cs.
const int VRage.MyFixedPoint.Places = 6 |
Definition at line 27 of file MyFixedPoint.cs.
long VRage.MyFixedPoint.RawValue |
Definition at line 40 of file MyFixedPoint.cs.
|
static |
Definition at line 35 of file MyFixedPoint.cs.
|
static |
Definition at line 30 of file MyFixedPoint.cs.
|
static |
Definition at line 34 of file MyFixedPoint.cs.