beautypg.com

HP Prime Graphing Calculator User Manual

Page 194

background image

190

Geometry

is_harmonic_line_bundle

Returns 1 if the lines are concurrent, 2 if they are all parallel,

3 if they are the same line and 0 otherwise.

is_harmonic_line_bundle({line1, line2, …,
linen}))

is_rhombus

Tests whether or not a set of four points are vertices of a

rhombus. Returns 0 if they are not, 1 if they are, and 2 if they

are vertices of a square.

is_rhombus(point1, point2, point3, point4)

Example:

is_rhombus(point(0,0), point(-2,2),
point(0,4), point(2,2)) returns 2

LineHorz

Draws the horizontal line y=a.

LineHorz(a)

Example:

LineHorz(-2) draws the horizontal line whose equation is

y = –2

LineVert

Draws the vertical line x=a.

LineVert(a)

Example:

LineVert(–3) draws the vertical line whose equation is x

= –3

open_polygon

Connects a set of points with line segments, in the given order,

to produce a polygon. If the last point is the same as the first

point, then the polygon is closed; otherwise, it is open.

open_polygon(point1, point2, …, point1

) or

open_polygon(point1, point2, …, pointn)