Close
Close window
translation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

geom3d

translation

find the translation of a geometric object with respect to a directed segment.

Calling Sequence

translation(Q, obj, AB)

Parameters

Q

-

the name of the object to be created

obj

-

geometric object

AB

-

directed segment

Description

In translation, the set S of all points of unextended space is mapped onto itself by carrying each point P of S into a point P1 such that the directed segment PP1 is equal and parallel to a given directed segment AB.

The directed segment AB is called the vector of the translation.

The command with(geom3d,translation) allows the use of the abbreviated form of this command.

Examples

>

withgeom3d:

Define a stellated icosahedron where the core having center (0,0,0), radius of the circum-sphere 1

>

stellateico1,icosahedronico,pointo,0,0,0,1,20

ico1

(1)

Define directed line segment A(0,0,0), B(5,0,0)

>

dsegmentAB,pointA,0,0,0,pointB,5,0,0:

Translate ico1 with respect to the directed segment AB

>

translationico2,ico1,AB

ico2

(2)

Plotting:

>

drawico1,ico2,style=patch,orientation=0,32,lightmodel=light4,title=`translation of a stellated icosahedron`


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /