net.simplace.sim.components.util.helper.ArrayHelper.RESAMPLE_MODE

Resample modes - CENTER - takes the value of the source layer that hits the center of target layer - FIRST - takes the value of the first source layer that overlaps with the target layer - LAST - takes the value of the last source layer that overlaps with the target layer - AVG - takes the weighted average of the overlapping source layers - SUM - takes the sum of overlapping source layers, multiplied by the proportion of their overlap


public static final class ArrayHelper.RESAMPLE_MODE extends java.lang.Enum {

// Constants
public static final ArrayHelper.RESAMPLE_MODE CENTER;
public static final ArrayHelper.RESAMPLE_MODE FIRST;
public static final ArrayHelper.RESAMPLE_MODE LAST;
public static final ArrayHelper.RESAMPLE_MODE AVG;
public static final ArrayHelper.RESAMPLE_MODE SUM;

// Class Methods
public static ArrayHelper.RESAMPLE_MODE[] values();

public static ArrayHelper.RESAMPLE_MODE valueOf(String name);



}



Hierarchy: java.lang.Object - java.lang.Enum (java.lang.Comparable, java.io.Serializable) - ArrayHelper.RESAMPLE_MODE



Passed to: ArrayHelper.resampleLayers(), ArrayHelper.resampleLayers()



Returned by: valueOf(), values()



Type of: AVG, CENTER, FIRST, LAST, SUM