Package org.sunflow.core.filter
Class TriangleFilter
- java.lang.Object
-
- org.sunflow.core.filter.TriangleFilter
-
-
Constructor Summary
Constructors Constructor Description TriangleFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatget(float x, float y)Get value of the filter at offset (x, y).floatgetSize()Width in pixels of the filter extents.
-
-
-
Method Detail
-
getSize
public float getSize()
Description copied from interface:FilterWidth in pixels of the filter extents. The filter will be applied to the range of pixels within a box of+/- getSize() / 2around the center of the pixel.
-
get
public float get(float x, float y)Description copied from interface:FilterGet value of the filter at offset (x, y). The filter should never be called with values beyond its extents but should return 0 in those cases anyway.
-
-