Interface WeightFunction

All Known Implementing Classes:
UnityModifier, XModifier, YModifier, ZModifier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WeightFunction
Weight function.
Author:
Michael Hoffer <info@michaelhoffer.de>
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double
    eval(Vector3d v, CSG csg)
    Evaluates the function at the specified location.
  • Method Details Link icon

    • eval Link icon

      double eval(Vector3d v, CSG csg)
      Evaluates the function at the specified location.
      Parameters:
      v - location
      csg - csg
      Returns:
      the weight of the specified position