GH_Rectangle.GH_RectangleProxy
GH_GooProxy<1>Proxy description of GH_Rectangle class. This class is used by the Generic Multivalue interfaces.
Constructors
Properties
Area
#Circumference
#[Description("Circumference of rectangle region")]
[Category("Properties")]
public string Circumference { get; }
Height
#[Description("Height of rectangle")]
[Category("Dimensions")]
[RefreshProperties(RefreshProperties.All)]
public GH_Interval_Wrapper Height { get; }
IsParsable
Gets a value indicating whether or not the type can be instantiated from a String.
Implements: IsParsable
Origin
#[Description("Base Plane origin")]
[Category("Plane")]
[RefreshProperties(RefreshProperties.All)]
public GH_Point3d_Wrapper Origin { get; }
ProxyOwner
Gets the piece of Grasshopper data that spawned this proxy.
Implements: ProxyOwner
TypeDescription
[Description("Description of target data type")]
[Category("Misc")]
public string TypeDescription { get; }
TypeName
UserString
Gets or sets the user-defined string that describes this proxy. This only really makes sense if the Proxy is Parsable.
Returns: The UserString value or the value of FormatInstance() if UserString has not been assigned.
Implements: UserString
Valid
Gets a value indicating whether this proxy represents valid data.
Implements: Valid
Width
#[Description("Width of Rectangle")]
[Category("Dimensions")]
[RefreshProperties(RefreshProperties.All)]
public GH_Interval_Wrapper Width { get; }
XAxis
#[Description("Plane X-Axis")]
[Category("Plane")]
[DisplayName("X Axis")]
[RefreshProperties(RefreshProperties.All)]
public GH_Vector3d_Wrapper XAxis { get; }
YAxis
#[Description("Plane Y-Axis")]
[Category("Plane")]
[DisplayName("Y Axis")]
[RefreshProperties(RefreshProperties.All)]
public GH_Vector3d_Wrapper YAxis { get; }
ZAxis
#[Description("Plane Z-Axis")]
[Category("Plane")]
[DisplayName("Z Axis")]
[RefreshProperties(RefreshProperties.All)]
public GH_Vector3d_Wrapper ZAxis { get; }
Methods
FormatInstance
Returns a String description of the current value.
Remarks: If the implementation IsParsable(), then this representation must be in parsable format.
Implements: FormatInstance
FromString
If IsParsable(), then attempts to convert the string to a generic type value
Parameters:
| in (string) | The String to parse. |
Returns: True on success, false on failure. This method should not throw exceptions.
Implements: FromString
MutateString
Munge a string to remove obvious errors on account of the user.
Parameters:
| in (string) |
Implements: MutateString
Parameters:
| number (double) |
Parameters:
| text (string) |
ToString
Overrides: Object.ToString