Professional Documents
Culture Documents
2
Introduction to curves - Analytical curves:
line, circle and conics – synthetic curves:
Hermite cubic spline- Bezier curve and B-
Spline curve – curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
Representation of Curves
Generally shape representation have two uses
Analytic use.
Synthetic use.
Control Points:
Locate points through which the curve must pass or
points that control the curve shape.
Axis independence:
The shape of an object must not change when the control
points are measured in a different coordinate system.
Versatility:
A curve representation that allows a limited variety of
shapes may frustrate a designer.
The control of a curve representation, often by adding
or removing control points.
Order of continuity:
A complex shape is usually not modeled by a single
curve, but by several curves pieced together end to end.
When creating joints, the designer often wants to control
the order of continuity at the joint.
4
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
SYNTHETIC CURVES
6
Order of Continuity
7
First (C1) and second (C2) order continuities imply slop and
curvature continuous curves respectively.
The type of input data and its influence on the control of the
resulting synthetic curve determine the use and effectiveness of the
curve in design.
8
Most commonly used Synthetic Curves
• Cubic Spline
– It passes through the control points.
– It has only upto C1 continuity.
• Bezier Curve
– It does not pass through the control points but only
approximates the trend.
– It also has only upto C1 continuity.
• B-Spline Curve
– It is also most generally an approximator.
– It has upto C2 continuity.
9
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves:
Hermite cubic spline- Bezier curve and B-
Spline curve – curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
Cubic Spline
Parametric spline curves are defined as
piecewise polynomial curves with a
certain order of continuity.
The parametric cubic spline connects two data points and utilizes a
cubic function.
Therefore four conditions (positions of the two end points and two
tangent vectors at the points) are required to determine the
coefficients of the equation.
Parametric equation of cubic spline is given by
Inorder to find the coefficients Ci, consider the cubic spline curve with
two endpoints P0 and P1.
Applying the boundary conditions
Solving these four equations simultaneously for the coefficients gives
If the two end points are fixed in space, the designer can control the
shape of the spline by changing either the magnitudes or the direction
of the tangent vectors.
The use of the cubic splines in design applications is not popular
compared to Bezier or B-spline curves.
The control of the curve is not very obvious from the input data due
to its global control characteristics.
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
BEZIER CURVES
Bezier curves and surfaces are credited to P. Bezier of the French car firm
Regie Renault who developed (1962).
The data points are used to control the shape of the resulting curves.
Only the first and the last control points or vertices of the polygon
actually lie on the curve.
The other vertices define the order, derivatives and shape of the curve.
18
BEZIER CURVE
19
BEZIER CURVES FOR VARIOUS CONTROL POINTS
20
BEZIER CURVES FOR VARIOUS CONTROL POINTS
21
BEZIER CURVE
Mathematically for n+1 control points, the Bezier curve is defined by the
following polynomial of degree n:
22
Characteristics of the Bezier Curve
23
Cont..
The curve lies entirely within the convex hull formed by four
control points.
25
26
CONVEX HULL OF A BEZIER CURVE
27
Some Bezier Curves
28
Bezier Curves- Disadvantages
The curve does not pass through the control points which
may be inconvenient to some designers.
The curve lacks local control. It only has the global control
nature.
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
B – Spline Curve
B-splines are a powerful tool for generating curves with many
control points and provide many advantages over Bezier
curves.
36
The Characteristics of B- Spline Curve
The local control of the curve can be achieved by changing the
position of a control points, using multiple control points by placing
several points at the same location, or by choosing a different degree.
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.
37
The Effect of Degree of B- Spline Curve on its shape
Increasing the degree of the curve tightens it. In general, the less the
degree, the closer the curve gets to the control points.
When k=1, a zero degree curve results. The curve then becomes the
control points themselves.
38
Identical B-spline and Bezier Curves
39
Multiple Control point B-Spline curve
40
An Closed B-spline curve with P0 and P5 coincident
41
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
Curve Manipulations
• Analytic and synthetic curves essential to
geometric modeling.
• The effective use of these curves in a design and
manufacturing environment depends mainly on
their manipulation to achieve goals in hand.
• A user might want to blend curves with certain
continuity requirements. Or
• the intersection of two curves in space might
provide the coordinates of an important point to
engineering calculations or modeling of a part.
Evaluating Points on Curves
• Points on curves are generated for different modeling needs.
• For example, finite element modeling requires generating
nodal points (nodes) on the model to be used later in finite
element analysis.
• Evaluation methods must be efficient and fast for interactive
purposes as well as capable of producing enough points to
display a smooth curve.
• The obvious method of calculating the coordinates of points
on a curve by substituting successive values of its parameter
u into its equation is inefficient.
• Incremental methods prove to be more efficient.
• Using the forward difference technique to evaluate a curve
polynomial equation at equal intervals of its parameter is
the most common incremental method.
• Evaluating a point on a curve by using its parametric
value. u, is sometimes called the direct point solution.
• It entails evaluating three polynomials in u, one for each
coordinate of the point. The inverse problem is another
form of evaluating a point on a curve.
• Given a point on or close to a curve in terms of its
Cartesian coordinates x, y, and z, find the corresponding
u value.
• This problem arises, for example, x’ tangent vectors are
to be evaluated at certain locations on the curve.
• The solution to this problem is called the inverse point
solution and requires the solution of a nonlinear
polynomial in u via numerical methods.
Blending(combination)
• The construction of composite curves from the
various types of parametric curves forms
the core of the blending problem,
• which can be stated as follows: Given two curves
P1(u1), 0 < u1 < a, P2(u2), 0 < u2 < b,
• find the conditions for the two curves to be
continuous at the joint.
• Notice that the upper limits on u1 and u2 are taken
as a and b, and not 1, for generality.
Three classes of continuity at the joint can be
considered.
• The first is C0 continuity, where the ending point of
the first curve and the starting point of the second
curve are the same. This gives
• If the two segments are to be C1 continuous as
well, they must have slope continuity,
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
INTRODUCTION TO SURFACE MODELING
59
Mesh in Surface Models
Finer the mesh size of surface entities in a model, the longer the CPU
time to construct the entities and to update the graphics display and the
longer it takes to plot the surface model.
60
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
Surface Entities
Major surface entities provided by CAD/CAM systems.
1. Plane Surface
This is the simplest surface.
62
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface, surface of
revolution and tabulated cylinder – synthetic
surfaces: Hermite bicubic surface- Bezier
surface and B-Spline surface- surface
manipulations.
2. Ruled (lofted )Surface
64
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface- surface
manipulations.
3. Surface of revolution
66
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface- surface
manipulations.
4. Tabulated Cylinder
This is a surface generated by translating a planar curve a
certain distance along a specified direction (axis of the
cylinder)
68
5. Bezier Surface
69
6. B-spline surface
70
7. Coons Patch
8. Fillet surface
71
9. Offset surface
72
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface- surface
manipulations.
SURFACE REPRESENTATION
These fall into two categories. In the first, one equation is fitted
to pass through all the points while in the second the data points
are used to develop a series of surface patches that are
connected together with at least position and first derivative
continuity.
The parametric
representation of a
surface means a
continuous, vector
valued function P(u,v)
of two variables.
Some surfaces may consist of one patch only, while others may
be a few patches connected together.
Surface Composed of rectangular and triangular patches
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface- surface
manipulations.
BEZIER SURFACE
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface- surface
manipulations.
B- Spline Surface
A rectangular set of data points creates the surface.
87
B- Spline Surface
DISPLAY OF CURVES AND SURFACES
To achieve realism
Projections- Ortho, Perspective
Shading
89
Wire frame Display of curves and Surfaces
The simplest method for displaying curves and surfaces is the wire
frame technique.
The points are displayed and are connected by short straight line
segments.
90
Display of curves
91
Less number of points will create the curve without smoothness.
For flatter region, the less number of points are enough in larger intervals. It is
required more in curved region.
92
Subdivide curve on the basis of change in total slope
93
Subdivide at midpoint of curve
Subdivide at midpoint till each part of curve is either flat enough or small
enough
94
UNIT
2
Introduction to curves - Analytical curves: line,
circle and conics – synthetic curves: Hermite
cubic spline- Bezier curve and B-Spline curve –
curve manipulations.
Introduction to surfaces - Analytical surfaces:
Plane surface, ruled surface,
surface of revolution and tabulated cylinder –
synthetic surfaces: Hermite bicubic surface-
Bezier surface and B-Spline surface-
surface manipulations.
segmentation
Trimming
Intersection
Projection