Class Index | File Index

Classes


Class Circumcircle

Constructs two elements: a point and a circle. The circle is given by three points which lie on the circle, the point is the midpoint of the circle.
Defined in: Composition.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Circumcircle(p1,p2,p3)
A circumcircle is given by three points which are all lying on the circle.
Class Detail
Circumcircle(p1,p2,p3)
A circumcircle is given by three points which are all lying on the circle.
var p1 = board.create('point', [0.0, 2.0]);
var p2 = board.create('point', [2.0, 1.0]);
var p3 = board.create('point', [3.0, 3.0]);

var cc1 = board.create('circumcircle', [p1, p2, p3]);

				
				
				
				
					
						
Parameters:
{JXG.Point_JXG.Point_JXG.Point} p1,p2,p3
The constructed point is the midpoint of the circle determined by p1, p2, and p3.
Throws:
{Exception}
If the element cannot be constructed with the given parent objects an exception is thrown.
Returns:
An array containing the midpoint in the first component and the circumcircle in the second component.

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