Class Index | File Index

Classes


Class Integral


Extends JXG.Polygon.
This element is used to visualize the integral of a given curve over a given interval.
Defined in: Composition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Integral(p,l)
The Integral element is used to visualize the area under a given curve over a given interval and to calculate the area's value.
Fields borrowed from class JXG.Polygon:
borders, type, vertices, withLines
Fields borrowed from class JXG.GeometryElement:
ancestors, board, childElements, dash, descendants, draft, fillColor, fillOpacity, fixed, hasLabel, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, isReal, layer, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, shadow, stdform, strokeColor, strokeOpacity, strokeWidth, symbolic, trace, traces, transformations, visible, visProp
Methods borrowed from class JXG.Polygon:
cloneToBackground, getTextAnchor, hasPoint, updateRenderer
Methods borrowed from class JXG.GeometryElement:
addChild, addLabelToElement, animate, clearTrace, hideElement, highlight, labelColor, noHighlight, remove, setArrow, setProperty, showElement, update
Class Detail
Integral(p,l)
The Integral element is used to visualize the area under a given curve over a given interval and to calculate the area's value. For that a polygon and gliders are used. The polygon displays the area, the gliders are used to change the interval dynamically.
var c1 = board.create('functiongraph', [function (t) { return t*t*t; }]);
var i1 = board.create('integral', [[-1.0, 4.0], c1]);

				
				
				
				
					
						
Parameters:
{array_JXG.Curve} p,l
The constructed point is the orthogonal projection of p onto l.
Throws:
{Exception}
If the element cannot be constructed with the given parent objects an exception is thrown.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 25 2011 00:43:17 GMT-0000 (UTC)