An Introduction To Solid Modeling
An Introduction To Solid Modeling
Solid Modeling
2007-01-15
• Domain
• Unambiguity
• Uniqueness
• Accuracy
• Validness
• Closure
• Compactness and Efficiency
• Domain
While no representation can describe all possible
solids, a representation should be able to
represent a useful set of geometric objects.
• Unambiguity
When you see a representation of a solid, you will
know what is being represented without any
doubt. An unambiguous representation is usually
referred to as a complete one.
• Uniqueness
That is, there is only one way to represent a
particular solid. If a representation is unique,
then it is easy to determine if two solids are
identical since one can just compare their
representations.
• Accuracy
A representation is said accurate if no
approximation is required.
• Validness
This means a representation should not create
any invalid or impossible solids. More precisely, a
representation will not represent an object that
does not correspond to a solid.
• Closure
Solids will be transformed and used with other
operations such as union and intersection.
"Closure" means that transforming a valid solid
always yields a valid solid
01/15/2007 State Key Lab of CAD&CG 7
Requirements for Solid
Representation
• Face: 1
Three ordered edges: a, c, b
• Edge: a
In face 1: X Æ Y
What information is important?
In face 2: Y Æ X
• Edge name
• Start vertex and end vertex
• Left face and right face
• The predecessor and successor edges
when traversing its left face
• the predecessor and successor edges
when traversing its right face
A a 1 a
B b 2 c
C d 3 a
D e 4 b
• Two solutions
1. Introducing loops: reverse
direction of face edge order
2. Introducing auxiliary edges:
Identify the auxiliary edges: its left and right faces
are same
loops
V - E + F - (L - F) - 2(S - G) = 0
V-E+F-(L-F)-2(S-G)
= 8-12+6-(6-6)-2(1-0)
=0
V-E+F-(L-F)-2(S-G)
= 24-36+16-(18-16)-2(2-1)
=0
V-E+F-(L-F)-2(S-G)
=24-36+14-(18-14)-2(1-2)
=0
The Genus is 2
Note: adding a face produces a loop, the outer loop of that face
Operator
Name
Meaning V E F L S G Result
∪ ∩ A-B B-A
CSG Tree
CSG Expression
• Example
sphere: x2+y2+z2=1
Interior: x2+y2+z2<1
Closure of interior: x2+y2+z2≤1
Exterior: x2+y2+z2>1
• int(S):
A point P is an interior point of a solid S if
there exists a radius r such that the open ball
with center P and radius r is contained in the
solid S.
The set of all interior points of solid S is the
interior of S , written as int(S)
• ext(S):
A point Q is an exterior point of a solid S if
there exists a radius r such that the open ball
with center Q and radius r does not intersect
the solid S.
The set of all exterior points of solid S is the
exterior of S , written as ext(S)
C
A
intersection
http://www.cad.zju.edu.cn/home/jqfeng/GM/GM08.zip
• Deadline: 2007.03.01
• Compressed all files, which should include
1) Descriptions of your work: name, student number, master
or Ph.D student, grade, programming environment, report
topic, etc.
2) Source codes and report
3) File format: GM_ChineseName_StudentNum.rar
• Send email to: zhx at cad . zju . edu . cn