Usage (signatures)
board.create('mirrorpoint', [p, mirr]);
The constructed point is the mirror point of p against mirr.
Parameters
| Name | Type | Description |
|---|---|---|
p |
PointLike | |
mirr |
PointLike |
Example
Mirror image of point p1 against mirror point mirr
var p1 = board.create('point', [1.0, 3.0]);
var mirr = board.create('point', [3.0, 2.0]);
var p2 = board.create('mirrorpoint', [p1, mirr]);
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 2378