The returned Point
is a clone of the Input point with the Value property set.
Every instance of Point
have X
and Y
normalised within range -1..1 (I subtract the quadrilateral center from each point).
Example:
controlPoints = new [] {
new Point() { X = -0.033675000000000566, Y = -0.02564999999999884, Value = 1.2787 },
new Point() { X = -0.035524999999999807, Y = 0.024329999999999075, Value = 1.329 },
new Point() { X = 0.03370499999999943, Y = 0.02564999999999884, Value = 1.3376 },
new Point() { X = 0.035494999999999166, Y = -0.024329999999999075, Value = 1.302 }
}
point = new Point() { X = 0.018148174616284152, Y = -0.014201699949808244 }
Expected result is Point.Value = 1.3044829106888913
The returned Point
is a clone of the Input point with the Value property set.
Every instance of Point
have X
and Y
normalised within range -1..1.
The returned Point
is a clone of the Input point with the Value property set.
Every instance of Point
have X
and Y
normalised within range -1..1 (I subtract the quadrilateral center from each point).
Example:
controlPoints = new [] {
new Point() { X = -0.033675000000000566, Y = -0.02564999999999884, Value = 1.2787 },
new Point() { X = -0.035524999999999807, Y = 0.024329999999999075, Value = 1.329 },
new Point() { X = 0.03370499999999943, Y = 0.02564999999999884, Value = 1.3376 },
new Point() { X = 0.035494999999999166, Y = -0.024329999999999075, Value = 1.302 }
}
point = new Point() { X = 0.018148174616284152, Y = -0.014201699949808244 }
Expected result is Point.Value = 1.3044829106888913
controlPoints
: the 4 points, each one with its valueValue
.point
: the point for which we want to calculate the interpolated value
The returned Point
is a clone of the Input point with the Value property set.
Every instance of Point
have X
and Y
normalised within range -1..1.
controlPoints
: the 4 points, each one with its valuepoint
: the point for which we want to calculate the interpolated value
The returned Point
is a clone of the Input point with the Value property set.
controlPoints
: the 4 points, each one with itsValue
.point
: the point for which we want to calculate the interpolated value
The returned Point
is a clone of the Input point with the Value property set.
Every instance of Point
have X
and Y
normalised within range -1..1.