SOME 024: Computer Aided Design: E. Rozos
SOME 024: Computer Aided Design: E. Rozos
Vector graphics
The objects are represented
with geometrical primitives.
Definitions-type of graphics
Raster graphics
Applications: link the spatial data with other kind of information (e.g.
height, temperature, mean annual rainfall), spatial related operations
(aggregation, interpolation), spatial queries, spatial statistics, 2D numerical
models.
Data storage: binary with the form of a 2D matrix
Vector graphics
Applications: Geometrical operations (intersections, union), objects are
handled as entities, representation accuracy.
Data storage: parametrically using analytical forms
Definitions-topology geometry
Topology
The branch of mathematics dealing with the Connectivity of geometric
elements not including specific information of those elements.
Topological
representation of
the Internet
Geometry
The branch of mathematics dealing with the measurements of lines, angles,
surfaces and solids.
Definitions-coordinate types
Cartesian coordinates
W=1 plane
Rotation of cone of
Transformation of a circle disk to Lines about the Y axis
Elliptical
disc
W=1 plane
Definitions-coordinate types
Transformations
Translation, rotation, reflection, scaling, inversion, shearing.
Corner Original New
points coordinates coordinates
P2 (3,2.5,1) (7,2.5,1)
P3 (2,2.5,1) (6,2.5,1)
P4 (2,2.5,-2) (6,2.5,-2)
P5 (3,2.5,-2) (7,2.5,-2)
P6 (2,4.5,-2) (6,4.5,-2)
P3 (2,2.5,1) (-2.5,2,1)
P4 (2,2.5,-2) (-2.5,2,-2)
P5 (3,2.5,-2) (-2.5,3,-2)
P6 (2,4.5,-2) (-4.5,2,-2)
Definitions-coordinate types
Mathematic implementation of the transformations using 3D homogeneous
coordinates.
1 0 0 0 1 0 0 ∆x
0 cos θ -sin θ 0 0 1 0 ∆y
Rotation around x Rx= Translation T=
0 sin cos θ 0 0 0 1 ∆z
0 0 0 1 0 0 0 1
cos θ 0 sin θ 0 Sx 0 0 0
0 1 0 0 0 Sy 0 0
Rotation around y Ry= Scaling S=
-sin θ 0 cos θ 0 0 0 Sz 0
0 0 0 1 0 0 0 1
Tangent to figure
Centre, start, end point Three points
given radius + end
point.
Wire frame modelling
A wire frame representation of a 3D object consist of a
finite set of points (vertices) and connecting edges. The
representation is a trade of between fidelity and easiness
of representation.
u
p1
Parametric bilinear surface with 4 control points (p1, p2, p3, p4)
r(u,v) = (1-v) (1-u) p1 + (1-v) u p2 + v (1-u) p3 + v u p4
Parametric curve and surface geometry
f g
From here to here
Control Curve N1,1 Knot cp 1 deactivated, cp 3 activated
N0,1
points degree span
Creation methods
1. The user supplies an array of control points. The surface
modeller fits a Bezier bicubic parametric patch to the
control features.
2. The 3D surface is created either by sweeping a curve
along a guide rail or by lofting a mesh of curves.
Surface modelling
Lofting