GH_Surface.GH_SurfaceProxy

GH_GooProxy<1>

Constructors

GH_SurfaceProxy

#
public GH_SurfaceProxy(GH_Surface Value)
Value (GH_Surface)

Properties

Area

#
[Description("Surface area")] [Category("Geometry")] public string Area { get; }

Closed

#
[Description("True if surface is closed along u or v")] [Category("Properties")] public bool Closed { get; }

Deformable

#
[Description("True if surface is deformable")] [Category("Properties")] public bool Deformable { get; }

EdgeCount

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

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

LoopCount

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

ObjectID

#
[Description("Object ID of referenced surface")] [Category("Reference")] [DisplayName("Object ID")] [RefreshProperties(RefreshProperties.All)] public string ObjectID { get; set; }

Owner

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

Periodic

#
[Description("True if surface is periodic along u or v")] [Category("Properties")] public bool Periodic { get; }

Planar

#
[Description("Valid surface geometry")] [Category("Properties")] public bool Planar { get; }

ProxyOwner

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

Singular

#
[Description("True if surface is singular along u or v")] [Category("Properties")] public bool Singular { get; }

Solid

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

Trimmed

#
[Description("True if surface is trimmed")] [Category("Properties")] public bool Trimmed { 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

[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

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

VertexCount

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

Volume

#
[Description("Surface volume")] [Category("Geometry")] public string Volume { get; }

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 override bool FromString(string in)
in (string)

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)

StringToNumber

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

ToString

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