Escolar Documentos
Profissional Documentos
Cultura Documentos
Geometric Modeling
by adding or subtracting
P2(x2,y2,z2) d3 P5(x5,y5,z5)
d4
d1
P4(x4,y4,z4)
P1(x1,y1,z1)
(x-xc)2+(y-yc)2 = r2
r
θ2
θ1
Knots
Control points that lie on the curve
• Approximating Splines
Control points merely influence shape
Multiple values :
A curve is not a graph of a single valued
function to a co ordinate irrespective of the
choice of the co-ordinate system
Explicit functions:
In non-parametric curve, the coordinates ‘y’ and ‘z’ of a
point on the curve are expressed as two separate functions
of third coordinate ‘x’.
y = f(x), z = g (x) or P= [x, y, z] T = [x, f (x), g (x) ]T
g(x,y,z) = 0
equation may have more solutions than we want
problem to join curve segments together
Parametric representation:
x = x(u), y = y(u), z = z (u)
Bezier
defined by two endpoints and two other points that control the
endpoint tangent vectors
------(i)
--(ii)
We get
--------(iii)
------(iv)
Substituting the above in to parametric equation (i)
and rearranging gives
---(v)
-1 3 -3 1
3 -6 3 0
MB = -3 3 0 0
1 0 0 0
p1 p3
Convex hull
p4
p0
-useful in clipping
- curve never oscillates away from the points
Centre of Centre of
Centre of
curvature curvature
curvature
Tangent
Centre of curvature
-1 3 -3 1
,U = [ u3 u2 u 1]
MS = 3 6 3 0
-3 0 3 0
1 4 1 0
p0
Pi = p1
p2
p3 Dr.Y.Venkata Narayana, Professor of MED,
SNIST 61
Characteristic of B-splines
1) Local control of the curve can be achieved by changing the
position of the control points
2) A non periodic B-spline curve passes through the first and
last control points p0 and pn+1 and is tangent to the first and last
segments of the control polygon
3) Increasing degree of the curve tightens it In general the
lesser the degree the closer the curve gets to the control point
k = 1 zero degree curve results
k = 2 the curve results polygon segments
2) Synthetic Entities:
Bi cubic Hermit spline surfaces, B-spline
surfaces, rectangular and triangular Bezier patches ,
rectangular and triangular coons patches.
Spheres B-Spline
Polygon Cylinders Ellipsoid Bezier
Polyhedron Cones Paraboloid Surface
Torus NURBS
Ruled
Lofted
Surface Surfaces
Dr.Y.Venkata Narayana, Professor of MED,
SNIST 69
Plane surfaces
Ruled surfaces
Tabulated cylinder
B-spline surface
Offset surfaces
-------1.2
--------- 1.1
P Pv
= Pu Puv
Where [P], [Pu], [Pv] and [Puv] are the sub matrices of the
corner points , corner u tangent vectors corner v tangent
vectors and corner twist vectors
-------- 2.1
p ( u, v )
r ( u, v )
q ( u, v )