geom3d
reflection
find the reflection of a geometric object in a point, in a line, or in a plane
Calling Sequence
Parameters
Description
Examples
reflection(Q, P, c)
Q
-
the name of the object to be created
P
geometric object
c
point, line, or plane
In reflection in a point, each point P of the set S of all points of unextended space is carried into the point P1 of S such that PP1 is bisected by a fixed point O of space.
In reflection in a line, each point P of S is carried into the point P1 of S such that PP1 is perpendicularly bisected by a fixed line l of space.
In reflection in a plane, each point P of S is carried into the point P1 of S such that PP1 is perpendicularly bisected by a fixed plane p of space.
For a detailed description of the object created Q, use the routine detail (i.e., detail(Q))
The command with(geom3d,reflection) allows the use of the abbreviated form of this command.
Define the plane oxy.
Define the sphere with center (1,1,1) and radius 2.
Find the reflection of the sphere s in the plane oxy.
Warning, assume that the name of the axes are _x, _y and _z
Check that s and s2, the reflection of s1, are the same.
Plot the sphere, its reflection and the plane.
See Also
geom3d/objects
geom3d/transformation
Download Help Document