GH_Interval2D.GH_Interval2DProxy

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

Constructors

GH_Interval2DProxy

#
public GH_Interval2DProxy()

Properties

Area

#
[Description("Signed area of 2D domain")] [Category("Properties")] public double Area { 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

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>

U0

#
[Description("Start of domain in U direction")] [Category("U Domain")] [RefreshProperties(RefreshProperties.All)] public double U0 { get; set; }

U1

#
[Description("End of domain in U direction")] [Category("U Domain")] [RefreshProperties(RefreshProperties.All)] public double U1 { get; set; }

UIsIncreasing

#
[Description("Increasing interval bounds")] [Category("U Properties")] [DisplayName("IsIncreasing")] public bool UIsIncreasing { get; set; }

UIsNormalized

#
[Description("Increasing interval bounds")] [Category("U Properties")] [DisplayName("IsNormalized")] public bool UIsNormalized { get; set; }

ULength

#
[Description("Length of numeric domain")] [Category("U Properties")] [DisplayName("Length")] public double ULength { get; }

UMiddle

#
[Description("Middle of numeric domain")] [Category("U Properties")] [DisplayName("Middle")] public double UMiddle { get; }

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

V0

#
[Description("Start of domain in V direction")] [Category("V Domain")] [RefreshProperties(RefreshProperties.All)] public double V0 { get; set; }

V1

#
[Description("End of domain in V direction")] [Category("V Domain")] [RefreshProperties(RefreshProperties.All)] public double V1 { get; set; }

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

VIsIncreasing

#
[Description("Increasing interval bounds")] [Category("V Properties")] [DisplayName("IsIncreasing")] public bool VIsIncreasing { get; set; }

VIsNormalized

#
[Description("Increasing interval bounds")] [Category("V Properties")] [DisplayName("IsNormalized")] public bool VIsNormalized { get; set; }

VLength

#
[Description("Length of numeric domain")] [Category("V Properties")] [DisplayName("Length")] public double VLength { get; }

VMiddle

#
[Description("Middle of numeric domain")] [Category("V Properties")] [DisplayName("Middle")] public double VMiddle { get; }

Methods

Construct

Override this method to supply a custom UI during proxy construction.
public virtual void Construct()
inherited fromGH_GooProxy<T>
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