Beruflich Dokumente
Kultur Dokumente
1. Object Transformation
Alter the coordinates descriptions of an
object
Translation, rotation, scaling etc.
2. Coordinate transformation
Produce a different coordinate system
y
P x x t x , y y t y
T x x t x
P , P , T
P y y t y
x
P P T
Solution:-
This would involve adding 2 to the current x
value and 3 to the current y value.
That is -
1 1 2 3 3 4
+ =
2 4 2 3 4 7
The new line would have end points (3,4) & (4,7).
Mr. S. P. Deshmukh, MPSTME, Vile Parle 6
Mr. S. P. Deshmukh, MPSTME, Vile Parle 7
Scaling
Changing the dimensions of window and
viewport to alter the size of drawing
y y s y y f 1 s y
x f , yf
x
P P S P f 1 - S
Solution:-
The scaling matrix for the 2*2 line definition would be-
2 0
T=
0 2
cos 𝜃 𝑆𝑖𝑛𝜃
−𝑆𝑖𝑛𝜃 𝐶𝑜𝑠 𝜃
Solution:-
The Rotation matrix would be-
cos 30 𝑆𝑖𝑛30
R=
−𝑆𝑖𝑛30 𝐶𝑜𝑠 30
cos 45 𝑆𝑖𝑛45
−𝑆𝑖𝑛45 𝐶𝑜𝑠 45
cos 45 sin 45
= 40 20
− sin 45 cos 45
0.707 0.707
= 40 20
−0.707 0.707
= 14.14 42.42
x, y P Pr R P Pr
cos sin
xr , yr x R
sin cos
x x t x
y
y y t y
z z tz
cos 𝜃 − sin 𝜃 0
R = sin 𝜃 cos 𝜃 0
0 0 1
y y y
P2 P2
P1 P1 P1
P2 x x x
z z z
a x2 x1 | V | y u a, b, c
b y2 y1 | V |
c z2 z1 | V |
x
a 2 b2 c2 1
z
Mr. S. P. Deshmukh, MPSTME, Vile Parle 25
Rotating u to coincide with z axis
cos c b 2 c 2 c d , sin b d .
We obtained a unit vector w a, 0, b 2 c 2 d in x z plane.
y u a, b, c
1 0 0 0
0 c d b d 0 u
R x
0 b d c d 0
x
0 0 0 1
z
Mr. S. P. Deshmukh, MPSTME, Vile Parle 26
Rotate w counterclockwise around y axis.
w is a unit vector whose x component is a, y component is 0,
hence z component is b 2 c 2 d . y u a, b, c
cos d , sin a
d 0 a 0 x
0 1 0 0
Ry
a 0 d 0 z
0 0 0 1 w a, 0, d
M R
y y S y
z x S z
z x z x
Enlarging object also moves it from origin
x S x 0 0 0 x
y 0 Sy 0 0 y
P SP
z 0 0 Sz 0 z
1 0 0 0 1 1
y y y
x f , yf , zf x f , yf , zf x f , yf , zf
z x z x z x
y
Sx 0 0 1 S x x f
1
TS T
0 Sy 0 1 S y y f
xf , yf , z f 0 0 Sz 1 S z z f
0 0 0 1
z x
(1,1)
(-1,1) (1,1)
X
X
(1,-1)
1 0 0
0 1 0
0 0 1
1 0 0
0 1 0
0 0 1
1 0 0 0 1 0
0 1 0 1 0 0
0 0 1 0 0 1
1 a 0 1 0 0 1 a 0
SH x 0 1 0 SH y b 1 0 SH xy b 1 0
0 0 1 0 0 1 0 0 1
x-direction y-direction
1 shx 0 1 0 0
0 1 0 sh 1 0
y
0 0 1 0 0 1
Production
Materials planning
Product costing
Plant maintenance
Example:
A bill of materials for a standard chair
Example:
A bill of materials for a Dell computer
1. Quantity
2. Item ID#
3. Description of Item
4. Cost of Item
2. Objective
1. Reduce redundant data
2. Integrate existing Data
3. Provide Security
4. Share data among users
5. Simplify the method of using data
DBMS Architecture
multivalued dependencies
Enable portability
Numeric types
NUMBER(p, q) – general purpose numeric data type
Date/time type
DATE – fixed-length date/time in dd-mm-yy form
Feasibility
Analysis
Waterfall Model Time
Design
– Proven approach
Implement
– Lacks flexibility
Maintain
– Time lag
– Ensures points of review Review
Re-Exam