P_Rhino_Geometry_Point2d_Item - mcneel/rhinocommon-api-docs GitHub Wiki
Accesses the coordinates of this point.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public double this[
int index
] { get; set; }
VB
Public Default Property Item (
index As Integer
) As Double
Get
Set
- index
- Type: System.Int32
Either 0 or 1.
Type: Double
If index is 0, the X (first) coordinate. If index is 1, the Y (second) coordinate.
Supported in: 6.0.16224.21491, 5D58w