Anda di halaman 1dari 43

Curves

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Points


Explicit methods

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Points


Implicit methods

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Lines

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Lines

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Circles

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Circles

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Ellipse

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Methods of Defining Parabola

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Mathematical Equation Smiles

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

10

Mathematical Forms of Geometric Entities


Mathematical
form

Parametric
form

Non-Parametric
form

Explicit
form

S. Suryakumar, ME, IITH

Implicit
form

General
form

Intrinsic
form

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Natural
form

11

Non-parametric form: Explicit Form


One axis coordinate is represented in terms of the
others.
2D:

y f x

S. Suryakumar, ME, IITH

3D:

z f x, y

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

y f1 x
z f 2 x

12

Example 1: Straight line


y

y mx c

tan m
1

c
x

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

13

Example 1: Straight line


y

y mx c

ax by c 0

tan m
1

Which is better?

c
x

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

14

Example 1: Straight line


y

y mx c

ax by c 0

tan m
1

Which is better?

c
x

Former collapses for

vertical lines!!
S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

15

Example 2: Circle

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

16

Example 2: Circle

y r x

y r x

x
2

Unable to handle loops. Hence the need for more equations.


S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

17

Non-parametric form: Implicit Form


Implicit form is an expression of the axes coordinates. If
substitution of any point in it evaluates to zero, then the point

lies on the entity; otherwise, it is on its either side depending


on the sign of the expression.
Implicit form divides the universe into two half-spaces.

This is the most general form as all entities can be


represented in this form including loops.

2D:

S. Suryakumar, ME, IITH

f x, y 0

3D:

f x, y , z 0

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

18

Example 1: Straight line


2D:

ax by c 0

3D:

ax by cz d 0

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

19

Example 2: Circle
x y r 0

x a y b
2

r 0
2

a, b

Note: If the centre is not origin, the equation becomes more complex;
Complexity is sensitive to the choice of the reference frame.
S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

20

Parametric form
Instead of directly expressing axis coordinates as functions of each other,
they are written in terms of some intermediate parameters.
While a single equation fully describes an entity in non-parametric form,
we require one equation for each axis coordinate. Therefore, the
expressions become a lot more simpler.
The parameters have a range. The entity is undefined beyond this range.
In other words, bound geometries can be defined using parametric form.
Preferred parametric interval is [0, 1]. Such a parameter is said to be
normalized. In other words, it is a normalized parameter.
For the same entity, there could be several parameterizations possible.
These may differ among each other linearly or in any arbitrary fashion.
The relation between Parametric space and Euclidean space may be nonlinear.
S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

21

Parametric form
These parameters are also called topological parameters (See table).
The requirement of the number of topological parameters is independent
of the dimension. All entities in a hierarchy require the same number of
topological parameters
Entity

Number of
Parameters

Point

p = [x, y, z]

Curve

p(u) = [x(u), y(u), z(u)]

Surface

p(u , v) = [x(u, v), y(u , v), z(u, v)]

Solid

p(u , v , w) = [x(u, v , w), y(u , v , w), z(u, v, w)]

Swept
volume

S. Suryakumar, ME, IITH

4-1

p(u , v , w , t) = [x(u, v , w , t), y(u , v , w , t), z(u, v, w, t)]

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

22

Parametric form - Advantages


Parametric form can describe all types of entities. Although implicit form
also does this, parametric expressions will be far more simpler. This is
because the behavior of each coordinate is expressed by a separate
equation in parametric form.
The coordinates are decoupled from each other. Therefore,
It becomes an ideal form for position control in devices such as plotter, CNC

machine or CRT where each axis is controlled by an independent drive system


(say, motor, yoke coil etc.).
Transformation can be done directly. This is not possible in other forms.

The geometry is bounded in parametric form since the parameters have a


range.
Adding more dimensions to get 2D to 3D entities or more parameters to
get higher entities is very trivial.
S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

23

Parametric form - Advantages


Parametric form does not break down computationally if infinite slopes
are encountered.
Geometric entities expressed in parametric form can be easily expressed
in the form of vectors and matrices.
A point can be represented by a single value instead of a triplet. This saves
space.

Parametric form enables common data types to represent a variety of


geometric entities. NURBS is one such popular scheme. This simplifies
software development.
In the context of freeform features, parametric form has more degrees of
freedom.

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

24

Review of non-Parametric & Parametric forms


Explicit non-parametric form:

P = [x y z]T
= [x f(x) g(x)]T

Implicit non-parametric form: F(x, y, z) = 0


Parametric form: P(u) = [x y z]T

= [x(u) y(u) z(u)]T


umin u umax
0u1
S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

25

The Need for Parametric Form in Computations


Excel Demo

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

26

Example-1
Convert an implicit equation: The non-parametric
implicit equation of a circle with a center at the

origin and radius R is given by x2 + y2 = R2. Find the


circle parametric equation.

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

27

Circle
Parametric Representation:
= + cos
= + sin 0 2
=

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

28

Circle
Parametric Representation:
= + cos
= + sin 0 2
=
Can this be made simpler computationally??

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

29

Methods of Defining Circles


Diameter with endpoints P1 and P2

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

30

Methods of Defining Circles


Diameter with endpoints P1 and P2
Passing through three points

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

31

Methods of Defining Circles


Diameter with endpoints P1 and P2
Passing through three points
Circle of Radius, R and tangent to two lines

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

32

Methods of Defining Circles


Diameter with endpoints P1 and P2
Passing through three points
Circle of Radius, R and tangent to two lines
Multiple solutions possible in this case?

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

33

Ellipse
Sum of distances from the foci is constant.

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

34

Ellipse
Sum of distances from the foci is constant.
Unlike circle, requires 4 conditions

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

35

Ellipse
Sum of distances from the foci is constant.
Unlike circle, requires 4 conditions
Parametric Representation:
= + cos
= + sin 0 2
=

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

36

Ellipse
Sum of distances from the foci is constant.
Unlike circle, requires 4 conditions
Parametric Representation:
= + cos
= + sin 0 2
=
Workout the simplified for of the above equation

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

37

Find the parameters of an ellipse.


Defined by its circumscribing rectangle

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

38

Parabola
Parametric Representation:
= + 2
= + 2 0
=

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

39

Hyperbola
Parametric Representation:
= + cosh
= +
=

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

40

Conics

Point

Line

Double Line

Ellipse

Parabola

Hyperbola

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

Circle

41

Conics
For a generic case, how many points are required to
get the curve/conics definition/equation?

Point-1-2: Axis of revolution


Point-3-4: On the sweep to get angle of cone

Points 5-7: To define the plane

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

42

Have a nice day!

S. Suryakumar, ME, IITH

ME3040/ME5090: Mathematical Elements for Geometrical Modelling

43

Anda mungkin juga menyukai