geom3d
homology
Find the space homology of a geometric object
Calling Sequence
Parameters
Description
Examples
homology(Q, P, K, O, theta, l )
Q
-
the name of the object to be created
P
a geometric object
K
ratio of the homothety
O
center of the homothety
theta
angle of rotation
l
the axis of rotation
A space homology is the product of a homothety and a rotation about an axis passing through the center of the homothety.
For a detailed description of Q (the object created), use the routine detail (i.e., detail(Q))
The command with(geom3d,homology) allows the use of the abbreviated form of this command.
with⁡geom3d:
Define a tetrahedron with center (0,0,0), radius of the circum-sphere 1
tetrahedron⁡p1,point⁡ctr,0,0,0,1
p1
Apply a homology transformation to p1 with ratio 3, center of the homothety ctr, and rotation Pi/2 about the z-axis.
line⁡m,0,0,t,t
m
homology⁡p2,p1,3,ctr,π2,m
p2
Plot the original tetrahedron and the result of the homology:
draw⁡p2,p1,scaling=constrained,style=patch,transparency=0.7,orientation=0,32,title=`homology of a tetrahedron`
See Also
geom3d/objects
geom3d[homothety]
geom3d[rotation]
Download Help Document