Click or drag to resize

IGH_FieldElement Interface

Represents the basic interface for field elements.

Namespace:  Grasshopper.Kernel.Types
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public interface IGH_FieldElement : GH_ISerializable, 
	IGH_PreviewData

The IGH_FieldElement type exposes the following members.

Properties
  NameDescription
Public propertyBoundingBox
Gets the visual boundingbox of all the geometry used to represent this element in 3D.
Public propertyClippingBox
Gets the clipping box for this data. The clipping box is typically the same as the boundingbox.
(Inherited from IGH_PreviewData.)
Public propertyElementGuid
Gets the element Guid for this element.
Public propertyIsLimited
Gets or sets whether this element affects a limited region.
Public propertyLimits
Gets or sets the limits of this region. Unless IsLimited equals true, the Limits property is ignored.
Top
Methods
  NameDescription
Public methodDrawViewportMeshes
Implement this function to draw all shaded meshes. If the viewport does not support shading, this function will not be called.
(Inherited from IGH_PreviewData.)
Public methodDrawViewportWires
Implement this function to draw all wire and point previews.
(Inherited from IGH_PreviewData.)
Public methodDuplicate
Create an exact copy of this element.
Public methodForce
Compute the force at a given location.
Public methodIsCoincident
Computes whether the point can be considered coincident with the element.
Public methodRead
This method is called whenever the instance is required to deserialize itself.
(Inherited from GH_ISerializable.)
Public methodWrite
This method is called whenever the instance is required to serialize itself.
(Inherited from GH_ISerializable.)
Top
See Also