GH_Field

References
Represents a field of forces.

Constructors

GH_Field

#
Blank constructor.
public GH_Field()

GH_Field

#
Copy constructor.
public GH_Field(
GH_Field
other
Field to duplicate.
)

Properties

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

Elements

#
Gets the list of elements of this field.
public List<IGH_FieldElement> Elements { get; }

IsValid

#
public bool IsValid { get; }
IsValid

IsValidWhyNot

#
public string IsValidWhyNot { get; }
IsValidWhyNot

TypeDescription

#
public string TypeDescription { get; }
TypeDescription

TypeName

#
public string TypeName { get; }
TypeName

Methods

CastFrom

#
public bool CastFrom(
source
)
CastFrom

CastTo<T>

#
public bool CastTo<T>(
ref T
target
)
CastTo

CurvatureAt

#
public double CurvatureAt(
location
)

DrawViewportMeshes

#
public void DrawViewportMeshes()
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires()
DrawViewportWires

Duplicate

#
public IGH_Goo Duplicate()
Duplicate

EmitProxy

#
public IGH_GooProxy EmitProxy()
EmitProxy

Read

#
public bool Read(
reader
)
Read

ScriptVariable

#
public object ScriptVariable()
ScriptVariable

SolveStep

#
Move a point through the field.
public Vector3d SolveStep(
location,
Point to move from.
factor,
Multiplication factor to apply to sampling. A low factor results in more accurate sampling, but smaller steps.
method
Estimator to use.
)
New point location.

SolveSteps

#
Move a point through a succession of steps.
public Point3dList SolveSteps(
location,
Point to move.
accuracy,
Rough accuracy.
count,
Number of samples to take.
method
Estimator to use.
)
A track (including the original location) of all the samples.

TensorAt

#
Compute the field tensor at the given location as contributed by all the field elements.
public Vector3d TensorAt(
location
Location to sample field at.
)
The strength and direction of the field at the given location.

ToString

#
public string ToString()
ToString

Write

#
public bool Write(
writer
)
Write