GH_SubD.GH_SubDProxy

GH_GooProxy<1>

Constructors

GH_SubDProxy

#
public GH_SubDProxy(
Value
)

Properties

Area

#
[Description("Added surface area of all faces")] [Category("Geometry")] public string Area { get; }

EdgeCount

#
[Description("Number of edges")] [Category("Topology")] public int EdgeCount { get; }

FaceCount

#
[Description("Number of faces")] [Category("Topology")] public int FaceCount { get; }

IsParsable

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

ObjectID

#
[Description("Object ID of referenced SubD")] [Category("Reference")] [DisplayName("Object ID")] [RefreshProperties(RefreshProperties.All)] public string ObjectID { 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

Solid

#
[Description("Solid (closed) SubD")] [Category("Topology")] public bool Solid { get; }

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

VertexCount

#
[Description("Number of vertices")] [Category("Topology")] public int VertexCount { get; }

Volume

#
[Description("Volume of closed SubD")] [Category("Geometry")] public string Volume { get; }

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

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