JavaCAD
UnityModifier.java
Go to the documentation of this file.
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 package eu.mihosoft.vrl.v3d;
7 
8 // TODO: Auto-generated Javadoc
14 public class UnityModifier implements WeightFunction {
15 
19  public UnityModifier() {
20  }
21 
22  /* (non-Javadoc)
23  * @see eu.mihosoft.vrl.v3d.WeightFunction#eval(eu.mihosoft.vrl.v3d.Vector3d, eu.mihosoft.vrl.v3d.CSG)
24  */
25  @Override
26  public double eval(Vector3d pos, CSG csg) {
27  return 1.0;
28  }
29 
30 }
double eval(Vector3d pos, CSG csg)