Parallelpoint

Element

Given three point, a parallel point is the point such that the four points form a parallelogram.

A parallel point is given by three points. Taking the Euclidean vector from the first to the second point, the parallel point is determined by adding that vector to the third point. The line determined by the first two points is parallel to the line determined by the third point and the constructed point.

Usage (signatures)
board.create('parallelpoint', [p1, p2, p3]);

Taking the Euclidean vector \(v=p2-p1\) the parallel point is determined by \(p4 = p3+v\).

Parameters
Name Type Description
p1 PointLike
p2 PointLike
p3 PointLike
Example

Parallelpoint: pp1 such that p1, p2, p3, pp1 is a parallelogram

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 pp1 = board.create('parallelpoint', [p1, p2, p3]);
board.create('parallelpoint', [l, p]);

The resulting point will together with p specify a line which is parallel to l.

Parameters
Name Type Description
l Line
p PointLike
Attributes

Own

none

Inherited

Members

Own

none

Inherited

Methods

Own

none

Inherited

Events

Own

none

Inherited

Throws

If the element cannot be constructed with the given parent objects an exception is thrown.

Type
Error

Details

Type
JXG.Point
Source
element/composition.js, line 765

Extends