Module 2
Module 2
Lecture Plan
MODULE NO TOPIC
Geometric Modeling
1.1 Requirements of Geometric Models
1.2 Types of representation of curves – Introduction (Implicit, explicit,
1 parametric and non-parametric representation)
1.3 Parametric Representation of analytical curves - Problems
Assignment to students
Module 02
2.1 Synthetic curves – splines
2.2 Hermite cubic spline equation derivation and problems
Module Objectives
By completing this module, the student is expected to
• Derive the formulation of cubic splines
• Apply cubic spline formulation for solving problems
Module Outcomes
After completing this module, the student should be able to
• Illustrate the applications of cubic splines with examples
• Formulate cubic splines for approximating various analytical curves as well as
passing through two points given the boundary conditions
Synthetic Curves
The need for synthetic curves in design arises on
two occasions. When a curve is represented by a
collection of measured data points and when an
existing curve must change to meet new design
requirements.
Spline
• A spline curve is defined by giving a set of coordinate positions, called control points, which indicate the general shape of
the curve. These control points are then fitted with piecewise continuous parametric polynomial functions.
• When polynomial sections are fitted so that the curve passes through each control point, the resulting curve is said to
interpolate the set of control points
• On the other hand, when the polynomials are fitted to the general control point path without necessarily passing through
any control point, the resulting curve is said to approximate the set of control points
• Different types of synthetic curves are currently being used. They are
• Hermite Cubic Spline
• Bezier curve
• Bspline
• NURBS
• NURPS
• Since the spline curves, as mentioned earlier, are piecewise continuous parametric
polynomial functions, different continuity requirements are to be satisfied.
• Positional continuity (C0)
• Tangential continuity (C1)
• Curvature continuity (C2)
Each cubic spline segment is specified by its starting point Ending Point , Starting
tangent and Ending tangent .
Applying the aforesaid boundary conditions, and , we have
C0 P0
C P
1 0
Solving
C2 3( P1 P0 ) 2( P0 P1)
C 2( P P ) P P
3 0 1 0 1
Substituting
When interpolating through multiple points, the equations are to be assembled taking care
of tangency requirement
Problem 1
Determine the equation of the cubic spline when and
Problem 2
Determine the equation of the cubic spline with (0,1), (1,0) as end points while (-1,0) and (1,0) as end tangents
Assignment Problems
1. Determine the equation of the cubic spline with (0,0), (1,1) as end points while (-1,0) and (1,0) as end
tangents
2. Determine the equation of the cubic spline when and
3. Determine the equation of a cubic spline which approximates one quarter circle (0 to 90 degrees) with unit
radius
4. Given two points and two tangent vectors, P0 [0,0], P1 [1,1], [2,0], and [2,0], derive the parametric equation
of the cubic spline through these points
Smoothening
In mathematical analysis, the smoothness of a function is a property measured by the number of continuous
derivatives it has over some domain.
Assignment Problems
1. Determine the equation of the cubic spline with (0,0), (1,1) as end points while (-1,0) and (1,0) as end
tangents
2. Determine the equation of the cubic spline when and
3. Determine the equation of a cubic spline which approximates one quarter circle (0 to 90 degrees) with unit
radius
4. Given two points and two tangent vectors, P0 [0,0], P1 [1,1], [2,0], and [2,0], derive the parametric equation
of the cubic spline through these points
Assignment Problems
3. Determine the equation of a cubic spline which approximates one quarter circle (0 to 90 degrees) with
unit radius
y
𝑃 1 ′ (−1,0) 𝑃 1 (0,1)
R=1
𝑃 0 (1,0)
x
𝑃 0 ′ (0,1)