Methods
IntegrateCircle
#Gets the average value within a circle.
Parameters:
| circle (CircleF) | Circle to sample. |
Returns: Average value within circle.
IntegrateEllipse
#Gets the average value within a circle.
Parameters:
| ellipse (EllipseF) | Ellipse to sample. |
Returns: Average value within circle.
IntegrateRectangle
#Gets the average value within a sample aligned box.
Parameters:
| rectangle (Rectangle) | Rectangle to sample. |
Returns: Average value within box.
IntegrateRectangle
#Gets the average value within a box.
Parameters:
| rectangle (RectangleF) | Rectangle to sample. |
Returns: Average value within box.
InterpolateCubic
#Sample the map at a partial coordinate using cubic interpolation.
InterpolateHermite
#Sample the map at a partial coordinate using hermite interpolation.
InterpolateLinear
#Sample the map at a partial coordinate using linear interpolation.
InterpolateNearest
#Sample the map at a partial coordinate using nearest interpolation.
ProjectX
#Project an x coordinate into the interior map space.
Parameters:
| x (int) | X coordinate. |
Returns: Projected coordinate.
ProjectX
#Project an x coordinate into the interior map space.
Parameters:
| x (long) | X coordinate. |
Returns: Projected coordinate.
ProjectY
#Project an y coordinate into the interior map space.
Parameters:
| y (int) | Y coordinate. |
Returns: Projected coordinate.