GH_CrossSection Class

Grasshopper wrapper class for karamba cross sections.

Definition

Namespace: Karamba.GHopper.CrossSections
Assembly: karamba (in karamba.dll) Version: 1.0.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public class GH_CrossSection : GH_Goo<CroSec>
Inheritance
Object    GH_GooCroSec    GH_CrossSection

Constructors

GH_CrossSection Initializes a new instance of the GH_CrossSection class.
GH_CrossSection(CroSec) Initializes a new instance of the GH_CrossSection class based on a cross section.
GH_CrossSection(GH_CrossSection) Initializes a new instance of the GH_CrossSection class based on another cross section.
GH_CrossSection(Guid) Initializes a new instance of the GH_CrossSection class based on a guid.

Properties

IsValid Gets a value indicating whether or not the current value is valid.
(Overrides GH_Goo.IsValid)
IsValidWhyNot Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
(Inherited from GH_GooCroSec)
TypeDescription Gets a description of the type of the implementation.
(Overrides GH_Goo.TypeDescription)
TypeName Gets the name of the type of the implementation.
(Overrides GH_Goo.TypeName)
Value Gets or sets the internal data.
(Inherited from GH_GooCroSec)

Methods

CastFrom Attempt a cast from generic data.
(Overrides GH_Goo.CastFrom(Object))
CastTo``1 Attempt a cast to type Q.
(Inherited from GH_GooCroSec)
Duplicate Make a complete duplicate of this instance. No shallow copies.
(Overrides GH_Goo.Duplicate)
EmitProxy Create a new proxy for this instance. Return Null if this class does not support proxies.
(Overrides GH_Goo.EmitProxy)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Read Default behaviour is to return True.
(Overrides GH_Goo.Read(GH_IReader))
ScriptVariable This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
(Inherited from GH_GooCroSec)
ToString Creates a string description of the current instance value.
(Overrides GH_Goo.ToString)
Write Default behaviour is to return True.
(Overrides GH_Goo.Write(GH_IWriter))

Fields

m_value
(Inherited from GH_GooCroSec)

Extension Methods

ContainerType test if object is (a container like) a list or an array.
(Defined by MiniUtil)

See Also