15.04.2019 Views

The Geometry of Ships

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

THE GEOMETRY OF SHIPS 15<br />

Figure 8 illustrates some <strong>of</strong> these properties for k 4,<br />

N 6.<br />

A degree-1 (k 2) B-spline curve is identical to the<br />

parameterized polygon; i.e., it is the polyline joining the<br />

control points in sequence, with parameter value t <br />

(i 1)/(N 1) at the ith control point. A B-spline curve<br />

x(t) has k 2 continuous derivatives at each knot; therefore,<br />

the higher k is, the smoother the curve. However,<br />

smoother is also stiffer; higher k generally makes the<br />

curve adhere less to the shape <strong>of</strong> the polygon. When k <br />

N there are no interior knots, and the resulting parametric<br />

curve (known then as a Bezier curve) is analytic.<br />

3.8 NURBS Curves. NURBS is an acronym for<br />

“NonUniform Rational B-splines.” “Nonuniform” reflects<br />

optionally nonuniform knots. “Rational” reflects the representation<br />

<strong>of</strong> a NURBS curve as a fraction (ratio) involving<br />

nonnegative weights w i applied to the N control<br />

points:<br />

N<br />

<br />

i1<br />

N<br />

<br />

i1<br />

x(t) w i<br />

X i<br />

B i<br />

(t) w i<br />

B i<br />

(t)<br />

(27)<br />

If the weights are uniform (i.e., all the same value),<br />

this simplifies to equation (26), so the NURBS curve with<br />

uniform weights is just a B-spline curve. When the<br />

weights are nonuniform, they modulate the shape <strong>of</strong> the<br />

curve and its parameter distribution. If you view the behavior<br />

<strong>of</strong> the B-spline curve as being attracted to its control<br />

points, the weight w i makes the force <strong>of</strong> attraction<br />

to control point i stronger or weaker.<br />

NURBS curves share all the useful properties cited in<br />

the previous section for B-spline curves. A primary advantage<br />

<strong>of</strong> NURBS curves over B-spline curves is that specific<br />

choices <strong>of</strong> weights and knots exist which will make a<br />

NURBS curve take the exact shape <strong>of</strong> any conic section,<br />

including especially circular arcs. Thus NURBS provides a<br />

single unified representation that encompasses both the<br />

conics and free-form curves exactly. NURBS curves can<br />

also be used to approximate any other curve, to any desired<br />

degree <strong>of</strong> accuracy. <strong>The</strong>y are therefore widely<br />

adopted for curve representation and manipulation, and<br />

for communication <strong>of</strong> curves between CAD systems. For<br />

the rules governing weight and knot choices, and much<br />

more information about NURBS curves and surfaces, see,<br />

for example, Piegl & Tiller (1995).<br />

3.9 Reparameterization <strong>of</strong> Parametric Curves. A curve<br />

is a one-dimensional point set embedded in a 2-D or 3-D<br />

space. If it is either explicit or parametric, a curve has a<br />

“natural” parameter distribution implied by its construction.<br />

However, if the curve is to be used in some further<br />

construction, e.g., <strong>of</strong> a surface, it may be desirable to have<br />

its parameter distributed in a different way. In the case <strong>of</strong><br />

a parametric curve, this is accomplished by the functional<br />

composition:<br />

y(t) x(t), where t f(t). (28)<br />

If f is monotonic increasing, and f(0) 0 and f(1) <br />

1, then y(t) consists <strong>of</strong> the same set <strong>of</strong> points as x(t),<br />

but traversed with a different velocity. Thus reparameterization<br />

does not change the shape <strong>of</strong> a curve, but it<br />

may have important modeling effects on the curve’s<br />

descendants.<br />

3.10 Continuity <strong>of</strong> Curves. When two curves join or<br />

are assembled into a single composite curve, the<br />

smoothness <strong>of</strong> the connection between them can be<br />

characterized by different degrees <strong>of</strong> continuity. <strong>The</strong><br />

same descriptions will be applied later to continuity between<br />

surfaces.<br />

G 0 : Two curves that join end-to-end with an arbitrary<br />

angle at the junction are said to have G 0 continuity, or<br />

“geometric continuity <strong>of</strong> zero order.”<br />

G 1 : If the curves join with zero angle at the junction (the<br />

curves have the same tangent direction) they are said<br />

to have G 1 , first order geometric continuity, slope<br />

continuity, or tangent continuity.<br />

G 2 : If the curves join with zero angle, and have the same<br />

curvature at the junction, they are said to have G 2<br />

continuity, second order geometric continuity, or curvature<br />

continuity.<br />

<strong>The</strong>re are also degrees <strong>of</strong> parametric continuity:<br />

C 0 : Two curves that share a common endpoint are C 0 .<br />

<strong>The</strong>y may join with G 1 or G 2 continuity, but if their<br />

parametric velocities are different at the junction,<br />

they are only C 0 .<br />

C 1 : Two curves that are G 1 and have in addition the same<br />

parametric velocity at the junction are C 1 .<br />

C 2 : Two curves that are G 2 and have the same parametric<br />

velocity and acceleration at the junction are C 2 .<br />

C 1 and C 2 are <strong>of</strong>ten loosely used to mean G 1 and G 2 ,<br />

but parametric continuity is a much more stringent condition.<br />

Since the parametric velocity is not a visible attribute<br />

<strong>of</strong> a curve, C 1 or C 2 continuity has relatively little<br />

significance in geometric design.<br />

3.11 Projections and Intersections. Curves can arise<br />

from various operations on other curves and surfaces.<br />

<strong>The</strong> normal projection <strong>of</strong> a curve onto a plane is one<br />

such operation. Each point <strong>of</strong> the original curve is projected<br />

along a straight line normal to the plane, resulting<br />

in a corresponding point on the plane; the locus <strong>of</strong> all<br />

such projected points is the projected curve. If the plane<br />

is specified by a point p lying in the plane and the unit<br />

normal vector û, the points x that lie in the plane satisfy<br />

(x p) û 0. <strong>The</strong> projected curve can then be described<br />

by<br />

x(t) x 0 (t) û[(x 0 (t) p) û] (29)<br />

where x 0 (t) is the “basis” curve.<br />

Curves also arise from intersections <strong>of</strong> surfaces with<br />

planes or other surfaces. Typically, there is no direct<br />

formula like equation (29) for finding points on an<br />

intersection <strong>of</strong> a parametric surface; instead, each point<br />

located requires the iterative numerical solution <strong>of</strong> a<br />

system <strong>of</strong> one or more (usually nonlinear) equations.<br />

Such curves are much more laborious to compute than

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!