GH_Point.GH_PointProxy

GH_GooProxy<1>

Constructors

GH_PointProxy

#
public GH_PointProxy(GH_Point Value)
Value (GH_Point)

Properties

Distance

#
[Description("Reference distance along curve or edge. Only applies when point is a curve or edge reference.")] [Category("Reference")] [RefreshProperties(RefreshProperties.All)] public string Distance { get; set; }

IsParsable

[Browsable(false)] public virtual bool IsParsable { get; }
Gets a value indicating whether or not the type can be instantiated from a String.
inherited fromGH_GooProxy<T>
IsParsable

Owner

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

ProxyOwner

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

Referenced

#
[Description("Point references an object in Rhino.")] [Category("Reference")] public bool Referenced { get; }

ReferenceID

#
[Description("Object Reference ID")] [Category("Reference")] [DisplayName("Reference object ID")] public string ReferenceID { get; }

ReferenceType

#
[Description("Reference Type")] [Category("Reference")] [DisplayName("Reference type")] public string ReferenceType { get; }

TParameterRatio

#
[Description("Reference parameter ratio along curve or edge domain. Only applies when point is a curve or edge reference.")] [Category("Reference")] [DisplayName("Ratio (t)")] [RefreshProperties(RefreshProperties.All)] public string TParameterRatio { get; set; }

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

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

UVParameterRatio

#
[Description("Reference parameter ratio along surface uv domain. Only applies when point is a surface reference.")] [Category("Reference")] [DisplayName("Ratio (uv)")] [RefreshProperties(RefreshProperties.All)] public GH_PointRefUV_Wrapper UVParameterRatio { get; }

Valid

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

X

#
[Description("X-coordinate")] [Category("Geometry")] [RefreshProperties(RefreshProperties.All)] public string X { get; set; }

Y

#
[Description("Y-coordinate")] [Category("Geometry")] [RefreshProperties(RefreshProperties.All)] public string Y { get; set; }

Z

#
[Description("Z-coordinate")] [Category("Geometry")] [RefreshProperties(RefreshProperties.All)] public string Z { get; set; }

Methods

Construct

#
public override void Construct()

FormatInstance

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

FromString

public virtual bool FromString(string in)
If IsParsable(), then attempts to convert the string to a generic type value
inherited fromGH_GooProxy<T>
in (string)The String to parse.
True on success, false on failure. This method should not throw exceptions.
FromString

MutateString

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

NumberToString

protected string NumberToString(double number)
inherited fromGH_GooProxy<T>
number (double)

SrfRefChanged

#
protected void SrfRefChanged(GH_PointRefUV_Wrapper sender, GH_PointRefData ref)
sender (GH_PointRefUV_Wrapper)
ref (GH_PointRefData)

StringToNumber

protected double StringToNumber(string text)
inherited fromGH_GooProxy<T>
text (string)

ToString

public override string ToString()
inherited fromGH_GooProxy<T>
Object.ToString