/// <inheritdoc />
 public sealed override double ValueAt(GridPoint2d point)
 {
     return(FieldUtil.ValueAt(Values, point.Corners, point.Weights));
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 public void SetAt(GridPoint2d point, double value)
 {
     FieldUtil.SetAt(Values, point.Corners, point.Weights, value);
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="amount"></param>
 public void IncrementAt(GridPoint2d point, double amount)
 {
     FieldUtil.IncrementAt(Values, point.Corners, point.Weights, amount);
 }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="amount"></param>
 public static void IncrementAt(this GridField3d <Vec3d> field, GridPoint3d point, Vec3d amount)
 {
     FieldUtil.IncrementAt(field, point.Corners, point.Weights, amount);
 }
Beispiel #5
0
 /// <inheritdoc/>
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public static void SetAt(this GridField3d <Vec3d> field, GridPoint3d point, Vec3d value)
 {
     FieldUtil.SetAt(field, point.Corners, point.Weights, value);
 }
Beispiel #6
0
 /// <inheritdoc/>
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public void SetAt(GridPoint3d point, Vec3d value)
 {
     FieldUtil.SetAt(Values, point.Corners, point.Weights, value);
 }
Beispiel #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="amount"></param>
 public static void IncrementAt(this GridField2d <double> field, GridPoint2d point, double amount)
 {
     FieldUtil.IncrementAt(field, point.Corners, point.Weights, amount);
 }
Beispiel #8
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <param name="value"></param>
 public static void SetAt(this GridField2d <double> field, GridPoint2d point, double value)
 {
     FieldUtil.SetAt(field, point.Corners, point.Weights, value);
 }