JavaCAD
Public Member Functions | List of all members
eu.mihosoft.vrl.v3d.WeightFunction Interface Reference
Inheritance diagram for eu.mihosoft.vrl.v3d.WeightFunction:
Inheritance graph
[legend]

Public Member Functions

double eval (Vector3d v, CSG csg)
 

Detailed Description

Weight function.

Author
Michael Hoffer <info@.nosp@m.mich.nosp@m.aelho.nosp@m.ffer.nosp@m..de>

Definition at line 16 of file WeightFunction.java.

Member Function Documentation

◆ eval()

double eu.mihosoft.vrl.v3d.WeightFunction.eval ( Vector3d  v,
CSG  csg 
)

Evaluates the function at the specified location.

Parameters
vlocation
csgcsg
Returns
the weight of the specified position

Implemented in eu.mihosoft.vrl.v3d.ZModifier, eu.mihosoft.vrl.v3d.YModifier, eu.mihosoft.vrl.v3d.XModifier, and eu.mihosoft.vrl.v3d.UnityModifier.


The documentation for this interface was generated from the following file: