Exemplo n.º 1
0
 /// <inheritdoc />
 public sealed override Vec3d ValueAt(GridPoint3d point)
 {
     return(FieldUtil.ValueAt(Values, point.Corners, point.Weights));
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 /// <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);
 }