Gets or sets a vector component at the given index.
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
Index of vector component. Valid values are:
0 = X-component
1 = Y-component
2 = Z-component
.
Property Value
Type:
DoubleSee Also