GH_Surface Class

GH_Surface Class

Represents a 3D (trimmed) surface. GH_Surface wraps the functionality of the OpenNURBS OnBrepFace class.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.TypesGH_GooBrep
    Grasshopper.Kernel.TypesGH_GeometricGooBrep
      Grasshopper.Kernel.TypesGH_Surface

Namespace:  Grasshopper.Kernel.Types
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public class GH_Surface : GH_GeometricGoo<Brep>, 
	IGH_BakeAwareData, IGH_PreviewData, IGH_PreviewMeshData, IGH_RenderAwareData
Public Class GH_Surface
	Inherits GH_GeometricGoo(Of Brep)
	Implements IGH_BakeAwareData, IGH_PreviewData, IGH_PreviewMeshData, IGH_RenderAwareData

The GH_Surface type exposes the following members.

Constructors
  NameDescription
Public methodGH_Surface
Initializes a new instance of the GH_Surface class
Public methodGH_Surface(Brep)
Initializes a new instance of the GH_Surface class
Public methodGH_Surface(Surface)
Initializes a new instance of the GH_Surface class
Public methodGH_Surface(Guid)
Initializes a new instance of the GH_Surface class
Public methodGH_Surface(GH_Surface)
Initializes a new instance of the GH_Surface class
Top
Properties
  NameDescription
Public propertyBoundingbox (Overrides GH_GeometricGooTBoundingbox.)
Public propertyClippingBox
Public propertyFace
Public propertyIsGeometryLoaded (Overrides GH_GeometricGooTIsGeometryLoaded.)
Public propertyIsReferencedGeometry
Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
(Inherited from GH_GeometricGooT.)
Public propertyIsValid (Overrides GH_GeometricGooTIsValid.)
Public propertyIsValidWhyNot
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
(Overrides GH_GooTIsValidWhyNot.)
Public propertyReferenceID (Overrides GH_GeometricGooTReferenceID.)
Public propertyTypeDescription (Overrides GH_GooTTypeDescription.)
Public propertyTypeName (Overrides GH_GooTTypeName.)
Public propertyValue (Overrides GH_GeometricGooTValue.)
Top
Methods
Fields
  NameDescription
Protected fieldm_value (Inherited from GH_GooT.)
Top
See Also