GH_Vector.GH_VectorProxy

GH_GooProxy<1>
Proxy description of GH_Vector class. This class is used by the Generic Multivalue interfaces.

Constructors

GH_VectorProxy

#
public GH_VectorProxy(
nOwner
)

Properties

IsParsable

#
public override bool IsParsable { get; }

Length

#
[Description("Length of vector")] [Category("Properties")] [RefreshProperties(RefreshProperties.All)] public string Length { get; set; }

Owner

[Browsable(false)] protected T Owner { get; }
inherited fromGH_GooProxy<T>

ProxyOwner

Gets the piece of Grasshopper data that spawned this proxy.
[Browsable(false)] public IGH_Goo ProxyOwner { get; }
inherited fromGH_GooProxy<T>
ProxyOwner

TypeDescription

[Description("Description of target data type")] [Category("Misc")] public string TypeDescription { get; }
inherited fromGH_GooProxy<T>

TypeName

[Description("Name of target data type")] [Category("Misc")] public string TypeName { get; }
inherited fromGH_GooProxy<T>

UserString

Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
[Browsable(false)] public string UserString { get; set; }
inherited fromGH_GooProxy<T>
The UserString value or the value of FormatInstance() if UserString has not been assigned.
UserString

Valid

Gets a value indicating whether this proxy represents valid data.
[Description("Validity of target data")] [Category("Misc")] public virtual bool Valid { get; }
inherited fromGH_GooProxy<T>
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

Construct

#
public override void Construct()

FormatInstance

Returns a String description of the current value.
public virtual string FormatInstance()
inherited fromGH_GooProxy<T>
Remarks: If the implementation IsParsable(), then this representation must be in parsable format.
FormatInstance

FromString

#
public override bool FromString()

MutateString

Munge a string to remove obvious errors on account of the user.
public virtual string MutateString()
inherited fromGH_GooProxy<T>
MutateString

NumberToString

protected string NumberToString(
number
)
inherited fromGH_GooProxy<T>

StringToNumber

protected double StringToNumber(
text
)
inherited fromGH_GooProxy<T>

ToString

#
public override string ToString()