geom3d
inversion
find the inversion of a point, plane, or sphere with respect to a given sphere.
Calling Sequence
Parameters
Description
Examples
inversion(Q, P, s)
Q
-
the name of the object to be created
P
point, line, or sphere
s
sphere
If P is a point that is not the same as the center O of sphere s⁡r, the inverse of P in, or with respect to, sphere s⁡r is the point Q lying on the line OP such that OP⁢OQ=r2.
Sphere s⁡r is called the sphere of inversion, point O the center of inversion, r the radius of inversion, and r2 the power of inversion.
For a detailed description of Q the object created, use the routine detail (i.e., detail(Q))
The command with(geom3d,inversion) allows the use of the abbreviated form of this command.
with⁡geom3d:
Define the sphere s with center (0,0,0), radius 1
sphere⁡s,point⁡o,0,0,0,1
Define a plane passing through A, B, C
plane⁡p,point⁡A,1,0,−1,point⁡B,0,0,−1,point⁡C,0,1,−1
p
Find the inversion of the plane with respect to the sphere s
inversion⁡s1,p,s
s1
Sine the plane p does not pass through the center of inversion, its inversion is a sphere through the center of inversion.
Checking:
detail⁡s1
name of the objects1form of the objectsphere3dname of the centercenter_s1_1coordinates of the center0,0,−12radius of the sphere12surface area of the sphereπvolume of the sphereπ6equation of the sphere_x2+_y2+_z2+_z=0
IsOnObject⁡o,s1
true
Plotting:
draw⁡s,s1,p⁡style=patchnogrid,color=maroon,style=wireframe,view=−1..1,−1..1,−2..1,title=`inversion of a plane with respect to a sphere`
See Also
geom3d/objects
geom3d/transformation
Download Help Document