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 Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    Nested classes/interfaces inherited from interface nz.org.riskscape.engine.rl.RealizableFunction

    nz.org.riskscape.engine.rl.RealizableFunction.MetadataIdentifiedRealizableFunction
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final nz.org.riskscape.engine.function.ArgumentList
     
     

    Fields inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction

    arguments, returnType
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class nz.org.riskscape.engine.function.BaseRealizableFunction

    asFunction, buildFunction, builtin, getArguments, getReturnType, identified, realize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.rl.RealizableFunction

    isDoTypeAdaptation
  • Field Details

    • PROBLEMS

      public static final NormalizeGeometry.LocalProblems 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:
      build in class nz.org.riskscape.engine.function.BaseRealizableFunction
      Throws:
      nz.org.riskscape.problem.ProblemException