P_Rhino_Geometry_Point2d_Item - mcneel/rhinocommon-api-docs GitHub Wiki

Point2d.Item Property

Accesses the coordinates of this point.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public double this[
	int index
] { get; set; }

VB

Public Default Property Item ( 
	index As Integer
) As Double
	Get
	Set

Parameters

 

index
Type: System.Int32
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point2d Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️