Element Intersection
JXG.GeometryElement
↳ JXG.Point
↳ Intersection
This element is used to provide a constructor for an intersection point.
Defined in: point.js.
Extends
JXG.Point.
Constructor Attributes | Constructor Name and Description |
---|---|
An intersection point is a point which lives on two Lines or Circles or one Line and one Circle at the same time, i.e.
|
- Methods borrowed from class JXG.Point:
- _anim, addConstraint, addTransform, Dist, free, handleAttractors, handleSnapToGrid, handleSnapToPoints, hasPoint, makeGlider, moveAlong, moveTo, normalizeFace, popSlideObject, remove, setGliderPosition, setPosition, setPositionByTransform, setPositionDirectly, setStyle, update, updateConstraint, updateGlider, updateGliderFromParent, updateRenderer, updateTransform, visit, X, XEval, Y, YEval, Z, ZEval
- Methods borrowed from class JXG.GeometryElement:
- _set, addChild, addDescendants, addRotation, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, generatePolynomial, getAttribute, getAttributes, getLabelAnchor, getName, getParents, getTextAnchor, getType, hideElement, labelColor, noHighlight, normalize, off, on, prepareUpdate, removeChild, removeDescendants, resolveShortcuts, setArrow, setAttribute, setDash, setLabelText, showElement, triggerEventHandlers
- 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
Element Detail
Intersection
An intersection point is a point which lives on two Lines or Circles or one Line and one Circle at the same time, i.e.
an intersection point of the two elements.
-
This element has no direct constructor. To create an instance of this element you have to call JXG.Board#create
with type "intersection".
- Possible parent array combinations are:
-
{JXG.Line|JXG.Circle} el1
{JXG.Line|JXG.Circle} el2
{Number} i
- The result will be a intersection point on el1 and el2. i determines the
intersection point if two points are available:
- i==0: use the positive square root,
- i==1: use the negative square root.
- Throws:
- {Exception}
- If the element cannot be constructed with the given parent objects an exception is thrown.
- Examples:
// Create an intersection point of circle and line var p1 = board.create('point', [2.0, 2.0]); var c1 = board.create('circle', [p1, 2.0]); var p2 = board.create('point', [2.0, 2.0]); var p3 = board.create('point', [2.0, 2.0]); var l1 = board.create('line', [p2, p3]); var i = board.create('intersection', [c1, l1, 0]);
Attributes borrowed from other Elements
- Attributes borrowed from class JXG.Point:
- attractorDistance, attractors, face, showInfobox, size, snapToPoints, snatchDistance, style
- Attributes borrowed from class JXG.GeometryElement:
- dash, draft, fillColor, fillOpacity, fixed, frozen, highlight, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, needsRegularUpdate, scalable, shadow, strokeColor, strokeOpacity, strokeWidth, trace, traceAttributes, visible, withLabel
Fields borrowed from other Elements
- Fields borrowed from class JXG.Point:
- coords, group, needsUpdateFromParent, onPolygon, position, slideObjects, snapSizeX, snapSizeY, snapToGrid
- Fields borrowed from class JXG.GeometryElement:
- _pos, addEvent, ancestors, baseElement, board, childElements, descendants, dump, elementClass, elType, eventHandlers, getProperty, hasLabel, highlighted, id, isDraggable, isReal, lastDragTime, methodMap, mouseover, name, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, rendNode, setProperty, stdform, subs, symbolic, traces, transformations, type, visProp
Methods borrowed from other Elements
- Methods borrowed from class JXG.Point:
- _anim, addConstraint, addTransform, Dist, free, handleAttractors, handleSnapToGrid, handleSnapToPoints, hasPoint, makeGlider, moveAlong, moveTo, normalizeFace, popSlideObject, remove, setGliderPosition, setPosition, setPositionByTransform, setPositionDirectly, setStyle, update, updateConstraint, updateGlider, updateGliderFromParent, updateRenderer, updateTransform, visit, X, XEval, Y, YEval, Z, ZEval
- Methods borrowed from class JXG.GeometryElement:
- _set, addChild, addDescendants, addRotation, animate, bounds, clearTrace, cloneToBackground, countChildren, createGradient, createLabel, draggable, generatePolynomial, getAttribute, getAttributes, getLabelAnchor, getName, getParents, getTextAnchor, getType, hideElement, labelColor, noHighlight, normalize, off, on, prepareUpdate, removeChild, removeDescendants, resolveShortcuts, setArrow, setAttribute, setDash, setLabelText, showElement, triggerEventHandlers
Events borrowed from other Elements