Pt Type
Pt is an immutable 2D point. Made up from 2 floats: X and Y.
3D Points are called 'Pnt'
Record fields
| Record Field |
Description
|
Full Usage:
X
Field type: float
|
The field holding the X part of this 2D point.
|
Full Usage:
Y
Field type: float
|
The field holding the Y part of this 2D point.
|
Constructors
| Constructor |
Description
|
Create a new 2D point from X and Y coordinates. When compiled in DEBUG or with CHECK_EUCLID symbol defined, this constructor checks for NaN and Infinity values and raises an exception if any are found. This check is skipped in release mode for performance reasons.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.AsFSharpCode
Returns: string
|
Format 2D point into an F# code string that can be used to recreate the point.
|
Full Usage:
this.AsString
Returns: string
|
Format 2D point into string with nice floating point number formatting of X and Y But without full type name as in p.ToString()
|
Euclid