FieldUtilities
Methods
ODEsolver
#PopulateLevelSet
#PopulateLevelSet
#Populates a constant level set of a field with random points.
public static PointCloud PopulateLevelSet()
scalarField,
Field to sample.
isoValue,
Scalar constant to populate.
bounds,
Boundary of volume to populate.
maximumSamples,
Maximum number of samples, the returned cloud may contain many fewer points.
randomSeed,
Random seed.
token
Cancellation token.
Returns: Pointcloud containing between zero and maximumSamples points.
PopulateLevelSet
#Populates a variable level set of a field with random points.
public static PointCloud PopulateLevelSet()
scalarField,
Field to sample.
isoField,
Scalar field encoding level set in space.
bounds,
Boundary of volume to populate.
maximumSamples,
Maximum number of samples, the returned cloud may contain many fewer points.
randomSeed,
Random seed.
token
Cancellation token.
Returns: Pointcloud containing between zero and maximumSamples points.
PopulateLevelSet
#Populates a variable level set of a field with random points.
public static PointCloud PopulateLevelSet()
scalarField,
Field to sample.
isoValue,
Scalar field encoding level set in space.
bounds,
Boundary of volume to populate.
maximumSamples,
Maximum number of samples, the returned cloud may contain many fewer points.
randomSeed,
Random seed.
byte[]
context = null,
Optional 64-element byte array for your convenience.
Cancellation token.
Returns: Pointcloud containing between zero and maximumSamples points.
PopulateLevelSet
#Populates a variable level set of a field with random points.
public static PointCloud PopulateLevelSet()
scalarField,
Field to sample.
isovalueField,
Scalar field encoding level set in space.
bounds,
Boundary of volume to populate.
maximumSamples,
Maximum number of samples, the returned cloud may contain many fewer points.
randomSeed,
Random seed.
byte[]
context = null,
Optional 64-element byte array for your convenience.
Cancellation token.
Returns: Pointcloud containing between zero and maximumSamples points.
Soup
#StreamPlotLines
#Compute a series of field lines.
public static (Polyline fieldLine, FieldUtilities.FieldLineStoppingReason reason)[] StreamPlotLines()
vectorField,
Vector field. Return codes okay=0, outsideRegion=1, failure=2
Point3d[]
seeds,
Seed points for field lines.
direction,
Direction of field lines given seed points.
minimumSeparation,
Minimum allowed separation between field lines.
maximumLength,
Maximum length of field lines.
absoluteError,
Absolute error tolerance.
relativeError,
Relative error tolerance.
solution
Solution within which this process runs.
Returns: Array of field lines and stopping reasons.