JavaCAD
Public Member Functions | List of all members
eu.mihosoft.vrl.v3d.parametrics.IParametric Interface Reference

Public Member Functions

CSG change (CSG oldCSG, String parameterKey, Long newValue)
 

Detailed Description

Definition at line 5 of file IParametric.java.

Member Function Documentation

◆ change()

CSG eu.mihosoft.vrl.v3d.parametrics.IParametric.change ( CSG  oldCSG,
String  parameterKey,
Long  newValue 
)

This is an interface for setting a parameter inside a CSG generation script. NOTE this should run in less than 10ms to not cause hangs. This function should not regenerate cad if possible but just set values Use IRegenerate to perform cad regeneration.

Parameters
oldCSGThe Old CSG that this function was called from
parameterKeyThe String used as a HashMap key to this parameter
newValuethe new value of the parameter
Returns
the CSG to be displayed, returning the same reference prevents excess render load

Referenced by eu.mihosoft.vrl.v3d.CSG.setParameterNewValue().


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