Class Inequality
Extends
JXG.Curve.
Creates an area indicating the solution of a linear inequality.
Defined in: Composition.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Inequality(l)
Display the solution set of a linear inequality (less than or equal to).
|
Field Attributes | Field Name and Description |
---|---|
By default an inequality is less (or equal) than.
|
- Fields borrowed from class JXG.Curve:
- curveType, handDrawing, numberPoints
- Fields borrowed from class JXG.GeometryElement:
- addEvent, ancestors, board, childElements, descendants, draft, dump, elementClass, elType, eventHandlers, fillOpacity, fixed, frozen, getAttribute, hasLabel, highlighted, highlightFillOpacity, highlightStrokeOpacity, highlightStrokeWidth, id, isDraggable, isReal, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, scalable, stdform, strokeOpacity, subs, symbolic, trace, traceAttributes, traces, transformations, type, visProp, withLabel
- Methods borrowed from class JXG.Curve:
- addTransform, allocatePoints, generateTerm, hasPoint, isDistOK, isSegmentOutside, maxX, minX, notifyParents, setPosition, setPositionDirectly, update, updateCurve, updateDataArray, updateParametricCurve, updateParametricCurveNaive, updateRenderer, updateTransform, Z
- Methods borrowed from class JXG.GeometryElement:
- addChild, addRotation, animate, bounds, clearTrace, cloneToBackground, createLabel, dash, fillColor, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, highlight, highlightFillColor, highlightStrokeColor, labelColor, noHighlight, off, on, remove, resolveShortcuts, setArrow, setAttribute, setLabelText, setProperty, shadow, showElement, snapToGrid, strokeColor, strokeWidth, triggerEventHandlers, visible
- Events borrowed from class JXG.GeometryElement:
- attribute, attribute:<attribute><attribute>, down, drag, mousedown, mousedrag, mousemove, mouseout, mouseover, mouseup, move, out, over, touchdown, touchdrag, touchup, up
Class Detail
Inequality(l)
Display the solution set of a linear inequality (less than or equal to).
p = board.create('point', [1, 3]); q = board.create('point', [-2, -4]); l = board.create('line', [p, q]); ineq = board.create('inequality', [l]);
- Parameters:
- {JXG.Line} l
- The area drawn will be the area below this line.
- Throws:
- {Error}
- If the element cannot be constructed with the given parent objects an exception is thrown.
Field Detail
{Boolean}
inverse
By default an inequality is less (or equal) than. Set inverse to true will consider the inequality
greater (or equal) than.
Defined in: Options.js.
Defined in: Options.js.
- Default Value:
- false