IGH_FieldElement

References
Represents the basic interface for field elements.

Properties

BoundingBox

#
Gets the visual boundingbox of all the geometry used to represent this element in 3D.
BoundingBox BoundingBox { get; }

ClippingBox

Gets the clipping box for this data. The clipping box is typically the same as the boundingbox.
BoundingBox ClippingBox { get; }
inherited fromIGH_PreviewData
The clipping box for this object.

ElementGuid

#
Gets the element Guid for this element.
Guid ElementGuid { get; }

IsLimited

#
Gets or sets whether this element affects a limited region.
bool IsLimited { get; set; }

Limits

#
Gets or sets the limits of this region. Unless IsLimited equals true, the Limits property is ignored.
Box Limits { get; set; }

Methods

DrawViewportMeshes

Implement this function to draw all shaded meshes. If the viewport does not support shading, this function will not be called.
void DrawViewportMeshes(
args
Drawing arguments.
)
inherited fromIGH_PreviewData

DrawViewportWires

Implement this function to draw all wire and point previews.
void DrawViewportWires(
args
Drawing arguments.
)
inherited fromIGH_PreviewData

Duplicate

#
Create an exact copy of this element.
IGH_FieldElement Duplicate()

Force

#
Compute the force at a given location.
Vector3d Force(
location
)

IsCoincident

#
Computes whether the point can be considered coincident with the element.
bool IsCoincident(
point,
Point to test.
tolerance
Tolerance to use.
)
True if the point is coincident within tolerance.

Read

This method is called whenever the instance is required to deserialize itself.
bool Read(
reader
Reader object to deserialize from.
)
inherited fromGH_ISerializable
True on success, false on failure.

Write

This method is called whenever the instance is required to serialize itself.
bool Write(
writer
Writer object to serialize with.
)
inherited fromGH_ISerializable
True on success, false on failure.