indexing
description: "Facilities class for EV_FIGURE."
status: "See notice at end of class"
keywords: "math"
date: "$Date$"
revision: "$Revision$"
class interface
EV_FIGURE_MATH
feature
arc_cosine (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
arc_sine (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
arc_tangent (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
ceiling (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
cosine (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
dabs (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
exp (x: DOUBLE): DOUBLE
v
DOUBLE_MATH
floor (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
log (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
log10 (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
log_2 (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
sine (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
sqrt (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
tangent (v: DOUBLE): DOUBLE
v
DOUBLE_MATH
feature
between (n, a, b: INTEGER): BOOLEAN
nab
delta_x (angle: DOUBLE; length: INTEGER): INTEGER
lengthangle
delta_y (angle: DOUBLE; length: INTEGER): INTEGER
lengthangle
distance (x1, y1, x2, y2: INTEGER): INTEGER
x1y1x2y2
distance_from_line (x, y, x1, y1, x2, y2: INTEGER): INTEGER
xyx1y1x2y2
line_angle (x1, y1, x2, y2: INTEGER): DOUBLE
x2y2x1y1
modulo (a, b: DOUBLE): DOUBLE
ab
require
divisible: b /= 0.0
ensure
in_interval: Result >= 0.0 and Result < b
point_on_ellipse (x, y, xc, yc, r1, r2: INTEGER): BOOLEAN
xy
point_on_ellipse_boundary (x, y, xc, yc, r1, r2, width: INTEGER): BOOLEAN
xy
point_on_line (x, y, x1, y1, x2, y2, width: INTEGER): BOOLEAN
xyx2y2x1y1width
point_on_polygon (x, y: INTEGER; points: ARRAY [EV_COORDINATE]): BOOLEAN
xypoints
point_on_rectangle (x, y, x1, y1, x2, y2: INTEGER): BOOLEAN
xy
point_on_segment (x, y, x1, y1, x2, y2, width: INTEGER): BOOLEAN
xyx2y2x1y1width
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- EV_FIGURE_MATH