/// <inheritdoc />
 public sealed override double ValueAt(GridPoint2d point)
 {
     return(FieldUtil.ValueAt(Values, point.Corners, point.Weights));
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }
Exemple #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);
 }