Class YModifier

java.lang.Object
eu.mihosoft.vrl.v3d.YModifier
All Implemented Interfaces:
WeightFunction

public class YModifier extends Object implements WeightFunction
Modifies along y axis.
Author:
Michael Hoffer <info@michaelhoffer.de>
  • Constructor Details Link icon

    • YModifier Link icon

      public YModifier()
      Constructor.
    • YModifier Link icon

      public YModifier(boolean centered)
      Constructor.
      Parameters:
      centered - defines whether to center origin at the csg location
  • Method Details Link icon

    • eval Link icon

      public double eval(Vector3d pos, CSG csg)
      Description copied from interface: WeightFunction
      Evaluates the function at the specified location.
      Specified by:
      eval in interface WeightFunction
      Parameters:
      pos - location
      csg - csg
      Returns:
      the weight of the specified position