Class Circumcirclesector
Extends
Sector.
A circumcircle sector is different from a Sector mostly in the way the parent elements are interpreted.
At first, the circum centre is determined from the three given points. Then the sector is drawn from p1 through
p2 to p3.
Defined in: Sector.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Circumcirclesector(p1,p2,p1)
|
- Fields borrowed from class Sector:
- point1, point2, point3
- Fields borrowed from class JXG.Curve:
- curveType, handDrawing, numberPoints
- Fields borrowed from class JXG.GeometryElement:
- addEvent, ancestors, board, childElements, dash, descendants, draft, dump, elementClass, elType, eventHandlers, fillColor, fillOpacity, fixed, frozen, getAttribute, hasLabel, highlight, highlighted, highlightFillColor, highlightFillOpacity, highlightStrokeColor, highlightStrokeOpacity, highlightStrokeWidth, id, isDraggable, isReal, methodMap, mouseover, name, needsRegularUpdate, needsUpdate, notExistingParents, numTraces, quadraticform, removeEvent, scalable, shadow, snapToGrid, stdform, strokeColor, strokeOpacity, strokeWidth, subs, symbolic, trace, traceAttributes, traces, transformations, type, visible, visProp, withLabel
- Methods borrowed from class Sector:
- hasPointSector, Radius
- 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, getAttributes, getLabelAnchor, getName, getParents, getProperty, getTextAnchor, getType, hideElement, labelColor, noHighlight, off, on, remove, resolveShortcuts, setArrow, setAttribute, setLabelText, setProperty, 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
Class Detail
Circumcirclesector(p1,p2,p1)
// Create an arc out of three free points var p1 = board.create('point', [1.5, 5.0]), p2 = board.create('point', [1.0, 0.5]), p3 = board.create('point', [5.0, 3.0]), a = board.create('circumcirclesector', [p1, p2, p3]);
- Parameters:
- {JXG.Point_JXG.Point_JXG.Point} p1,p2,p1
- A circumcircle sector is defined by the circumcircle which is determined by these three given points. The circumcircle sector is always drawn from p1 through p2 to p3.
- Throws:
- {Error}
- If the element cannot be constructed with the given parent objects an exception is thrown.