Point2d.Item Property

Point2dItem Property

Accesses the coordinates of this point.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public 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: Double
If index is 0, the X (first) coordinate. If index is 1, the Y (second) coordinate.
See Also