|
|||||||||
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
Represents abstract curve. The curve is the graph object that can be represented as one - parameter point set
Constructor Summary | |
GraphCurveBase(CurveDrawerBase _drawer)
Constructor. |
Method Summary | |
DoublePoint |
getGlobalPoint(double _param)
Returns Double point in the Container's coordinate system. |
abstract DoublePoint |
getLocalPoint(double _param)
Must return DoublePoint at the given normilized point |
abstract double |
getMaxParamValue()
Must return the maximum parameter value for the current object |
abstract double |
getMinParamValue()
Must return the minimum parameter value for the current object |
DoublePoint |
getNormLocalPoint(double _param)
Must return DoublePoint at the given normalized point |
double |
normilizeParamValue(double _param)
converts param from real double value to norilized value (to [0, 1] segment) |
double |
restoreParamValue(double _param)
converts param from normilized value to real double param value |
Methods inherited from class physicon.graphLib.GraphElementBase |
addDependent,
contains,
contains,
getContainer,
getContext,
getDepend,
getDrawer,
getGEObject,
getGraphElement,
getRedrawFlag,
getRefPoint,
getRoughRect,
getZLevel,
isCreated,
isVisible,
setDrawer,
setRedrawFlag,
setRefPoint,
setVisible,
setZLevel,
update,
updateDrawer |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public GraphCurveBase(CurveDrawerBase _drawer)
_drawer
- - Drawer object to draw the curveDrawerBase
Method Detail |
public DoublePoint getNormLocalPoint(double _param)
_param
- is in [0, 1] segmentpublic double normilizeParamValue(double _param)
_param
- - real double valuepublic double restoreParamValue(double _param)
_param
- - param value in [0, 1] segmentpublic DoublePoint getGlobalPoint(double _param)
_param
- - real value of the parameterpublic abstract DoublePoint getLocalPoint(double _param)
_param
- is real double value of the parameterpublic abstract double getMinParamValue()
public abstract double getMaxParamValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |