P_Rhino_Geometry_Vector3d_Item - mcneel/rhinocommon-api-docs GitHub Wiki

Vector3d.Item Property

Gets or sets a vector component at the given index.

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
Index of vector component. Valid values are: 0 = X-component

1 = Y-component

2 = Z-component .

Property Value

Type: Double

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Vector3d Structure
Rhino.Geometry Namespace

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