Exemple #1
0
 /// <inheritdoc />
 public sealed override Vec3d ValueAt(GridPoint3d point)
 {
     return(FieldUtil.ValueAt(Values, point.Corners, point.Weights));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="amount"></param>
 public static void IncrementAt(this GridField2d <Vec2d> field, GridPoint2d point, Vec2d amount)
 {
     FieldUtil.IncrementAt(field, point.Corners, point.Weights, amount);
 }
 /// <inheritdoc/>
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="amount"></param>
 public static void IncrementAt(this GridField3d <double> field, GridPoint3d point, double amount)
 {
     FieldUtil.IncrementAt(field, point.Corners, point.Weights, amount);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 public static void SetAt(this GridField2d <Vec2d> field, GridPoint2d point, Vec2d value)
 {
     FieldUtil.SetAt(field, point.Corners, point.Weights, value);
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 public static void SetAt(this GridField3d <double> field, GridPoint3d point, double value)
 {
     FieldUtil.SetAt(field, point.Corners, point.Weights, value);
 }