Commit Graph

9272 Commits

Author SHA1 Message Date
Léa Saviot
a945c02edf [poincare/Coordinate2D] Rename members x1 and x2 2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Léa Saviot
1caa0fb051 [apps/shared] tMin and tMax attributes to CartesianFunction 2019-08-29 11:07:22 +02:00
Léa Saviot
a45af36bfe [apps/curve_view_cursor] t member 2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2 [poincare/coordinate2D] Rename member values to x and y 2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06 [poincare/Coordinate2D] Template for double or float 2019-08-29 11:07:22 +02:00
Léa Saviot
22dd9752a5 [apps/function_curve_parameter_controller] Coding style 2019-08-29 11:07:22 +02:00
Léa Saviot
7d36634303 [apps/graph] Fix CurveParamCtrlr relayouting bug
Scenario:
f(x) = 1, g(theta) = 2, go to Graph.
Press ok on the polar curve, then Back, then OK on the cartesian curve :
the menu is drawn as if the curve was still polar.
2019-08-29 11:07:22 +02:00
Léa Saviot
ced3cc7e0c [apps/graph] Clean curveParamCtrlr reusableCellCount 2019-08-29 11:07:22 +02:00
Ruben Dashyan
66e2119f30 [apps/graph/curve_parameter_controller] Customize menu according to plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
acd1d112be [apps/graph/app] XNT depends on plot type when editing a function 2019-08-29 11:07:22 +02:00
Ruben Dashyan
c1470ed9d3 [escher/input_view_controller] Define isEditing method 2019-08-29 11:07:22 +02:00
Ruben Dashyan
82951b0672 [apps] App::XNT() returns a CodePoint instead of a char 2019-08-29 11:07:22 +02:00
Ruben Dashyan
381a92f991 [apps] Remove unnecessary overriding 2019-08-29 11:07:22 +02:00
Ruben Dashyan
998a80fbcc [apps/graph/list] Add TypeParameterController to ListParameterController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9b52d0d1f9 [apps/graph/list] Define TypeParameterController class 2019-08-29 11:07:22 +02:00
Ruben Dashyan
5a79139fb7 [apps/graph/list] Define PlotTypeHelper 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f3fc46ad1 [escher/message_table_cell_with_chevron_and_expression] subAccessoryView has margin by default 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9a803013b6 [apps/graph/graph_view] WIP: drawCurve according to PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
73a7098d80 [apps/shared/curve_view] drawCurve gets tStart, tEnd, tStep as parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f7aebb045 [apps/shared/curve_view] New boolean parameter controls whether drawCurve draws straight lines early 2019-08-29 11:07:22 +02:00
Ruben Dashyan
965ad60583 [apps/shared/curve_view] WIP: Call x|yEvaluation with parameter t 2019-08-29 11:07:22 +02:00
Ruben Dashyan
f46692f9b4 [apps/shared/curve_view] WIP: jointDots takes t and s float parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
ae2e282b4a [apps/shared/curve_view] drawCurve takes x|yEvaluation parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
fbee2d81e4 [apps/*/curve_view] Use drawCartesianCurve specifically for drawing Cartesian curves 2019-08-29 11:07:22 +02:00
Ruben Dashyan
7d689e22e4 [apps/graph/graph_view] Simplify drawRect 2019-08-29 11:07:22 +02:00
Ruben Dashyan
6dd9913f9b [apps/shared/cartesian_function] Check the reduced expression of parametric functions is a 2x1 matrix 2019-08-29 11:07:22 +02:00
Ruben Dashyan
ee1cdea837 [apps/shared/cartesian_function] Function symbol depends on its plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
a2dcad069f [apps/shared/function_banner_delegate] reloadBannerView... handles function symbol as CodePoint 2019-08-29 11:07:22 +02:00
Ruben Dashyan
27b9ede90b [apps/shared/function] nameWithArgument handles 2-char-long argument CodePoints 2019-08-29 11:07:22 +02:00
Ruben Dashyan
56c6bb9e19 [apps/graph] ListController: simplify
ListController::textFieldDidFinishEditing
2019-08-29 11:07:22 +02:00
Ruben Dashyan
efc5b15211 [apps/shared/cartesian_function] Define PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
31fc217fcd [apps/graph/i18n] Define curve types 2019-08-29 11:07:22 +02:00
Ruben Dashyan
43d72e082f [apps] Move sumBetweenBounds from Shared::Function to Shared::SumGraphController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
1d0668a84c [apps] Move some methods from Shared::CartesianFunction to GraphControllers 2019-08-29 11:07:22 +02:00
Ruben Dashyan
2866a8f861 [apps/shared/sum_graph_controller] Clean start/endSum 2019-08-29 11:07:22 +02:00
Ruben Dashyan
b2bca3e4aa [apps/shared/sum_graph_controller] Remove redundancy 2019-08-29 11:07:22 +02:00
Ruben Dashyan
4fef87ddb5 [apps/sequence/sequence] Replace sumBetweenBounds explicit definition by Poincare machinery 2019-08-29 11:07:22 +02:00
Ruben Dashyan
70f96ee912 [apps/shared/global_context] Remove ExpressionFromRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
84130236a8 [apps/shared/global_context] Inline SetExpressionForFunctionRecord 2019-08-29 11:07:22 +02:00
Ruben Dashyan
f4f45caf19 [apps/shared/expression_model(_handle)] Mark setExpressionContent's Expression parameter as const 2019-08-29 11:07:22 +02:00
Ruben Dashyan
e03e7717e9 [apps/shared/expression_model] Mark updateNewDataWithExpression's Expression parameter as const 2019-08-29 11:07:22 +02:00
Ruben Dashyan
d20d0becc4 [apps/*/expression_model(_handle)] Remove unknownSymbol() 2019-08-29 11:07:21 +02:00
Ruben Dashyan
a8810ef066 Use UCodePointUnknownX instead of UCodePointUnknownN 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e98a474f2b [apps/shared/expression_model(_handle)] Do not create layout from unknown symbol 2019-08-29 11:07:21 +02:00
Ruben Dashyan
e385205992 [apps] VariableBoxController gets layouts through GlobalContext::LayoutForRecord 2019-08-29 11:07:21 +02:00
Ruben Dashyan
c2b8781983 [apps/*/function] Move implementation of evaluateAtAbscissa to CartesianFunction 2019-08-29 11:07:21 +02:00
Ruben Dashyan
5e365104ae [apps/shared/function] Factor templatedApproximateAtAbscissa 2019-08-29 11:07:21 +02:00
Ruben Dashyan
ae21a592a1 [apps/*/expression_model_handle] Remove Symbol static method 2019-08-29 11:07:21 +02:00