2d curves Flashcards
(49 cards)
What is a curve in visual computing?
A continuous 1D shape defined in 2D or 3D space using mathematical functions.
What are the three main ways to represent a 2D curve?
Explicit, parametric, and implicit representations.
What is an explicit curve representation?
A representation where one variable is a function of the other, e.g., x₂ = f(x₁).
What is a key limitation of explicit curve representation?
It cannot represent vertical or multi-valued curves.
What is a parametric curve representation?
A curve defined by a parameter t that generates both x₁ and x₂ coordinates.
What is an example of a parametric equation for a circle?
[x₁, x₂] = r · [cos(t), sin(t)]
Why are parametric curves useful in animation and design?
They are easy to iterate over and can represent curves with direction and orientation.
What is an implicit curve representation?
A set of points that satisfy an equation f(x₁, x₂) = 0.
What is an example of an implicit curve?
A circle: x₁² + x₂² - r² = 0
What is a benefit of implicit representation?
It allows easy point-in-region tests (e.g., to check if a point lies inside a shape).
What is the disadvantage of using many straight lines to model curves?
It is inefficient and results in unsmooth approximations.
What is a better method to model complex curves?
Using smooth, piecewise polynomial curves.