beautypg.com

Transform – HP Prime Graphing Wireless Calculator User Manual

Page 57

background image

Geometry

53

Example:

plotlist([[0,3],[2,1],[4,4],[0,3]]) draws a

triangle

Slider

Creates a slider bar that can be used to control the value of
a parameter. A dialog box displays the slider bar definition
and any animation for the slider. When completed, the slider
bar appears near the top left of Plot view. You can then move
it to another location.

Transform

Translation

Translates a geometric object along a given vector. The vector

is given as the difference of two points (head-tail).

translation(vector, object)

Examples:

translation(0-i, GA) translates object A down one

unit.

translation(GB-GA, GC) translates object C along the

vector AB.

Reflection

Reflects a geometric object over a line or through a point. The

latter is sometimes referred to as a half-turn.

reflection(line, object) or reflection(point,
object)

Examples:

reflection(line(x=3),point(1,1)) reflects the

point at (1, 1) over the vertical line x=3 to create a point at
(5,1).

reflection(1+i, 3-2i) reflects the point at (3,–2)

through the point at (1, 1) to create a point at (–1, 4).

Rotation

Rotates a geometric object, about a given center point,

through a given angle.

rotate(point, angle, object)