268
CHAPTER
6.
PIECEWISE LINEAR TRIANGULATED SURFACES
Figure
6.9
Example
of
Control-Parallelism
constraint:
the
dark
surface
T(<S)
to be
modeled
has to
remain
as
parallel
as
possible
to a
given
surface
T(<$o)
while
honoring
any
other
DSI
constraints.
The
direction
of N and the
radius
p can be
modified interactively
to
specify
the
orientation
of the
tangent plane
and the
"flatness"
of S in the
neighbor-
hood
of the
projection
of p on
T(5)
in the
direction
N.
Fuzzy
Control-Parallelism
constraint
In
sedimentary geology,
the
horizons are, generally, more
or
less parallel.
As a
consequence, there
are
many
situations
where
we
want
to
model
a
geological
horizon
T(<$)
more
or
less parallel
to a
given
reference
horizon
T(«S
0
)
while
honoring
some other
DSI
constraints
if
any.
For
this purpose,
we
introduce
the
notion
of a
"Control-Parallelism" con-
straint
defined
as
follows:
•
Choose
a
direction
d.
Most
of the
time,
d is
chosen
as
being
equal
to the
vertical
direction,
but
this
is not
mandatory:
it is
even
possible
to use a field
of
non-constant
directions
d(o:).
• For
each
node
a of
T(<S),
determine
the
triangle
TO
of
T(<S
0
)
hit by the
straight
line
A(x(a),d)
passing
through
x(a)
and
parallel
to d, and
define
n(o:)
as
being
equal
to
-
either
"void"
if
A(x(a),d)
does
not
intersect
T(«S
0
),
—
or the
normal
vector
to TO if
A(x(a),d)
intersects
T(»5
0
).
•
Install
a
fuzzy
Control-Normal-Vector
constraint
for
each
node
a of
T(S)
where
n(a)
is
different from
"void."
Figure (6.9) shows
an
example
of
such
a
Control-Parallelism constraint, where
the
additional
constraints
consist
of one
Control-Node (small cube) plus Control-
Straightline constraints
specifying
that
the
boundary
of
T(«S)
must slide
on
vertical lines.