MirrorPoint

Element

A MirrorPoint is a special case of a MirrorElement.

A mirror point is determined by the reflection of a given point against another given point. This method is superceded by the more general MirrorElement.

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

Extends