Click or drag to resize

Point2dItem Property

Accesses the coordinates of this point.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public double this[
	int index
] { get; set; }


Type: SystemInt32
Either 0 or 1.

Return Value

Type: Double
If index is 0, the X (first) coordinate. If index is 1, the Y (second) coordinate.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.26
See Also