|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--physicon.graphLib.GraphElementBase | +--physicon.graphLib.GraphCurveBase | +--physicon.graphLib.ParamCurve
Represents the parametric curve. Contains two Funcs - the func x(t) and y(t), where t - is the parameter.
Constructor Summary | |
ParamCurve(CurveDrawerBase _drawer,
physicon.funcs.Func _xFunc,
physicon.funcs.Func _yFunc,
double _minParamValue,
double _maxParamValue)
Constructor. |
Method Summary | |
DoublePoint |
getLocalPoint(double _param)
Returns the curve point at the given parameter value. |
double |
getMaxParamValue()
Returns the maximal parameter value for the current curve |
double |
getMinParamValue()
Returns the minimal parameter value for the current curve |
physicon.funcs.Func |
getXFunc()
|
physicon.funcs.Func |
getYFunc()
|
void |
setFixedParamStep(double _d)
|
void |
setMaxParamValue(double _param)
Sets new value for the maximal parameter for the current curve. |
void |
setMinParamValue(double _param)
Sets new value for the minimal parameter for the current curve. |
void |
setRedrawFlag(boolean _b)
|
void |
setXFunc(physicon.funcs.Func _xFunc)
Changes x(t) function to the given one |
void |
setYFunc(physicon.funcs.Func _yFunc)
Changes y(t) function to the given one |
void |
updateDrawer()
Updates drawer. |
Methods inherited from class physicon.graphLib.GraphCurveBase |
getGlobalPoint,
getNormLocalPoint,
normilizeParamValue,
restoreParamValue |
Methods inherited from class physicon.graphLib.GraphElementBase |
addDependent,
contains,
contains,
getContainer,
getContext,
getDepend,
getDrawer,
getGEObject,
getGraphElement,
getRedrawFlag,
getRefPoint,
getRoughRect,
getZLevel,
isCreated,
isVisible,
setDrawer,
setRefPoint,
setVisible,
setZLevel,
update |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ParamCurve(CurveDrawerBase _drawer, physicon.funcs.Func _xFunc, physicon.funcs.Func _yFunc, double _minParamValue, double _maxParamValue)
_drawer
- - the drawer object for the current curve._xFunc
- - the x(t) function_yFunc
- - the y(t) function_minParamValue
- - the minimal value for the parameter t._maxParamValue
- - the maximal value for the parameter t.Method Detail |
public final double getMinParamValue()
public void setFixedParamStep(double _d)
public double getMaxParamValue()
public void setXFunc(physicon.funcs.Func _xFunc)
_xFunc
- - new x(t) fuctionpublic void setYFunc(physicon.funcs.Func _yFunc)
_yFunc
- - new y(t) fuctionpublic physicon.funcs.Func getXFunc()
public physicon.funcs.Func getYFunc()
public void setRedrawFlag(boolean _b)
public void setMinParamValue(double _param)
_param
- - new minimal parameter value.public void setMaxParamValue(double _param)
_param
- - new minimal parameter value.public DoublePoint getLocalPoint(double _param)
_param
- - the given parameter valuepublic void updateDrawer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |