public class GH_Mesh : GH_GeometricGoo<Mesh>, IGH_BakeAwareData, IGH_PreviewData, IGH_RenderAwareData, IGH_GeometricGoo
Represents a 3D polygonal mesh composed of quads and tris. GH_MEsh wraps the functionality of the OpenNURBS OnMesh class.
Constructors
Fields
m_value
protected T m_value
Properties
IsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
Implements: IsReferencedGeometry
IsValidWhyNot
#Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
Overrides: GH_Goo<T>.IsValidWhyNot
Value
Gets or sets the value of this type. Note that if the type has a ReferenceID this value might get destroyed in the future.
public override T Value { get; set; }
Overrides: GH_Goo<T>.Value
Methods
CastTo<Q>
Attempt a cast to type Q.
Remarks: If false, the target instance contents are not guaranteed to be valid.
Returns: True on success, false on failure.
Implements: CastTo
Duplicate
Make a complete duplicate of this instance. No shallow copies.
Remarks: Classes which implement this interface should also provide type specific Duplicate methods
Overrides: GH_Goo<T>.Duplicate
LoadGeometry
#If the geometry is referenced and not yet loaded, attempts to load the geometry.
Returns: True if the geometry is loaded (or if it was already loaded), False on failure.
Overrides: GH_GeometricGoo<T>.LoadGeometry
LoadGeometry
#Overrides: GH_GeometricGoo<T>.LoadGeometry