Class NormalizeGeometry
java.lang.Object
nz.org.riskscape.engine.function.BaseRealizableFunction
nz.org.riskscape.engine.function.geometry.NormalizeGeometry
- All Implemented Interfaces:
nz.org.riskscape.engine.rl.RealizableFunction
public class NormalizeGeometry
extends nz.org.riskscape.engine.function.BaseRealizableFunction
Function to normalize the geometry attribute's name.
If multiple geometries exist they will be collapsed into one, but an error will be thrown if the multiple geometries are not the same.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface nz.org.riskscape.engine.rl.RealizableFunction
nz.org.riskscape.engine.rl.RealizableFunction.MetadataIdentifiedRealizableFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final nz.org.riskscape.engine.function.ArgumentListstatic final NormalizeGeometry.LocalProblemsFields inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
arguments, returnType -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction
asFunction, buildFunction, builtin, getArguments, getReturnType, identified, realizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nz.org.riskscape.engine.rl.RealizableFunction
isDoTypeAdaptation
-
Field Details
-
PROBLEMS
-
ARGUMENTS
public static final nz.org.riskscape.engine.function.ArgumentList ARGUMENTS
-
-
Constructor Details
-
NormalizeGeometry
public NormalizeGeometry()
-
-
Method Details
-
build
protected nz.org.riskscape.engine.function.RiskscapeFunction build(nz.org.riskscape.engine.rl.RealizationContext context, nz.org.riskscape.rl.ast.FunctionCall functionCall, List<nz.org.riskscape.engine.types.Type> givenTypes) throws nz.org.riskscape.problem.ProblemException - Overrides:
buildin classnz.org.riskscape.engine.function.BaseRealizableFunction- Throws:
nz.org.riskscape.problem.ProblemException
-