06 - Implicit Parametric Piecewise

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

30 Terms

1
New cards

Why not just polygons for curves?

Polygons are bad at curves; you need many of them and they only approximate curvature.

2
New cards

Implicit representation

The object is the set of points where f(p) = 0. In 2D f(x,y) = 0 is a curve, in 3D f(x,y,z) = 0 is usually a surface.

3
New cards

Implicit circle

(x - xc)^2 + (y - yc)^2 - r^2 = 0

4
New cards

Implicit sphere

(x - xc)^2 + (y - yc)^2 + (z - zc)^2 - r^2 = 0

5
New cards

Implicit line (normal form)

n . (q - p0) = 0, where n is perpendicular to the line direction (p1 - p0).

6
New cards

Why does n . (q - p0) = 0 describe a line?

For any q on the line, q - p0 is parallel to the line, so its dot product with the perpendicular n is 0.

7
New cards

Implicit pros

Compact, captures curvature exactly, and the normal is easy to get.

8
New cards

Normal of an implicit surface

The gradient: grad f = (df/dx, df/dy, df/dz).

9
New cards

Implicit con

Hard to display, because the equation doesn't hand you any points; you have to search for the surface.

10
New cards

Parametric representation

Position as a function of a parameter, p = f(t). Sweep t over its range to trace the whole curve.

11
New cards

Why are parametric curves easy to draw?

Evaluate enough t values and connect the points.

12
New cards

Parametric circle

(x, y) = (xc + r cos t, yc + r sin t), t in [0, 2pi].

13
New cards

Is a parameterization unique?

No. (r cos 2t, r sin 2t) for t in [0, pi] gives the same circle traced twice as fast.

14
New cards

Unit parameterization

Most common. Parameter u runs from 0 (start) to 1 (end). Circle: (r cos 2pi u, r sin 2pi u).

15
New cards

Arc-length parameterization

Parameter s is distance along the curve, so |df/ds| is constant. Useful for some maths, less common.

16
New cards

Parametric 3D surface

p = f(u, v): two parameters, because a surface of a 3D solid is 2-dimensional (like longitude and latitude).

17
New cards

Piecewise curve

Split a complex curve into pieces, each with its own simpler function.

18
New cards

Piecewise pros and cons

Pros: simpler functions, can represent any curve with enough pieces. Cons: more than one function, and you must manage the joins.

19
New cards

C0 / G0 continuity

f1(1) = f2(0). No gap, the pieces touch, but there can still be a sharp corner.

20
New cards

C1 continuity

f1'(1) = f2'(0). Tangent vectors equal in both direction and magnitude (speed).

21
New cards

G1 continuity

f1'(1) = k f2'(0), k > 0. Tangents point the same direction but speed can differ. Looks smooth.

22
New cards

Cn continuity

The first n derivatives are equal at the join. C2 = matching acceleration.

23
New cards

Gn continuity

The nth derivatives are proportional at the join. G2 = matching curvature.

24
New cards

Which implies which: Cn or Gn?

Cn implies Gn, but not the other way round.

25
New cards

C (parametric) continuity in plain English

Smoothness of the curve AND its parameterization. A car driving along f(t) moves smoothly.

26
New cards

G (geometric) continuity in plain English

Smoothness of the shape only, i.e. the track the car leaves in the snow.

27
New cards

Why does G continuity exist?

The parameterization can make derivatives point the same way with different magnitudes: the curve looks smooth but isn't C1.

28
New cards

Car bodies need at least what continuity?

G2 (matching curvature), for aerodynamics.

29
New cards

Main difference between Cn and Gn (review Q)

Cn needs the first n derivatives exactly equal (direction and magnitude). Gn only needs them proportional. Gn = smooth shape; Cn = smooth shape and parameterization.

30
New cards