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]);
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