GH_Vector.GH_VectorProxy
GH_GooProxy<1>Proxy description of GH_Vector class. This class is used by the Generic Multivalue interfaces.
Constructors
Properties
Length
#[Description("Length of vector")]
[Category("Properties")]
[RefreshProperties(RefreshProperties.All)]
public string Length { get; set; }
ProxyOwner
Gets the piece of Grasshopper data that spawned this proxy.
Implements: ProxyOwner
TypeDescription
[Description("Description of target data type")]
[Category("Misc")]
public string TypeDescription { get; }
TypeName
UserString
Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
Returns: The UserString value or the value of FormatInstance() if UserString has not been assigned.
Implements: UserString
Valid
Gets a value indicating whether this proxy represents valid data.
Implements: Valid
X
#[Description("X-component")]
[Category("Geometry")]
[RefreshProperties(RefreshProperties.All)]
public string X { get; set; }
Y
#[Description("Y-component")]
[Category("Geometry")]
[RefreshProperties(RefreshProperties.All)]
public string Y { get; set; }
Z
#[Description("Z-component")]
[Category("Geometry")]
[RefreshProperties(RefreshProperties.All)]
public string Z { get; set; }
Methods
FormatInstance
Returns a String description of the current value.
Remarks: If the implementation IsParsable(), then this representation must be in parsable format.
Implements: FormatInstance
FromString
#Parameters:
| in (string) |
Overrides: GH_GooProxy<T>.FromString
MutateString
Munge a string to remove obvious errors on account of the user.
Parameters:
| in (string) |
Implements: MutateString
Parameters:
| number (double) |
Parameters:
| text (string) |