Accesses the coordinates of this point.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic double this[
int index
] { get; set; }Public Default Property Item (
index As Integer
) As Double
Get
Set
Parameters
- index
- Type: SystemInt32
Either 0 or 1.
Return Value
Type:
DoubleIf index is 0, the X (first) coordinate. If index is 1, the Y (second) coordinate.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also