All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.mihosoft.vrl.v3d.WeightFunction Maven / Gradle / Ivy

There is a newer version: 0.5.7
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package eu.mihosoft.vrl.v3d;

/**
 * Weight function.
 * 
 * @author Michael Hoffer <[email protected]>
 */
@FunctionalInterface
public interface WeightFunction {
    /**
     * Evaluates the function at the specified location.
     * @param v location
     * @param csg csg
     * @return the weight of the specified position
     */
    public double eval(Vector3d v, CSG csg);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy