Elementary Constructions in Spatial Constraint Solving Christoph M. Hoffmann Ching-Shoei Chiang, Bo Yuan Computer Science, Purdue University.

Slides:



Advertisements
Similar presentations
COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Advertisements

Developable Surface Fitting to Point Clouds Martin Peternell Computer Aided Geometric Design 21(2004) Reporter: Xingwang Zhang June 19, 2005.
ENS 207 engineering graphics
SDC PUBLICATIONS © 2011 Chapter 3 Geometric Construction and Editing Tools Learning Objectives:  Set up the display of Drawing Units.  Display AutoCAD's.
Projective Geometry- 3D
Localization of Piled Boxes by Means of the Hough Transform Dimitrios Katsoulas Institute for Pattern Recognition and Image Processing University of Freiburg.
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Introduction to Gröbner Bases for Geometric Modeling Geometric & Solid Modeling 1989 Christoph M. Hoffmann.
Previously Two view geometry: epipolar geometry Stereo vision: 3D reconstruction epipolar lines Baseline O O’ epipolar plane.
Notes, part 4 Arclength, sequences, and improper integrals.
11 Analytic Geometry in Three Dimensions
Geodetic Control Network
Copyright © Cengage Learning. All rights reserved. 10 Analytic Geometry in Three Dimensions.
Vectors and the Geometry of Space
Parametric Modeling.
University of Maribor 1 CADUI' June FUNDP Namur An Interactive Constraint-Based Graphics System with Partially Constrained Form-Features.
Chapter 5: Systems of Linear Equations Section 5.1: Solving Systems of Linear Equations by Graphing.
Solving Equations. Is a statement that two algebraic expressions are equal. EXAMPLES 3x – 5 = 7, x 2 – x – 6 = 0, and 4x = 4 To solve a equation in x.
Honors Calculus I Chapter P: Prerequisites Section P.1: Lines in the Plane.
3-dimensional shape cross section. 3-dimensional space.
Geometric Design of Mechanically Reachable Surfaces J. Michael McCarthy and HaiJun Su University of California, Irvine Mathematics Seminar California State.
1 Preliminaries Precalculus Review I Precalculus Review II
CALIFORNIA MATHEMATICS STANDARDS ALGEBRA Students identify and use the arithmetic properties of subsets of integers, rational, irrational, and real.
Mathematics for Computer Graphics (Appendix A) Won-Ki Jeong.
Dimensional Synthesis of RPC Serial Robots
Parametric Modeling © 2012 Project Lead The Way, Inc.Introduction to Engineering Design.
11 July 2002 Reverse Engineering 1 Dr. Gábor Renner Geometric Modelling Laboratory, Computer and Automation Research Institute.
An introduction to the finite element method using MATLAB
Aim: What are the higher degree function and equation? Do Now: a) Graph f(x) = x 3 + x 2 – x – 1 on the calculator b) How many times does the graph intersect.
MATH – High School Common Core Vs Tested Kansas Standards Please note: For informational purposes, all Common Core standards are listed, and the tested.
Slide 5- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
PREPARED BY: SAMERA BINTI SAMSUDDIN SAH SEM /2012 (NOV 2011)
1 Subdivision Termination Criteria in Subdivision Multivariate Solvers Iddo Hanniel, Gershon Elber CGGC, CS, Technion.
Linear Systems and Matrices
Robustness in Numerical Computation I Root Finding Kwanghee Ko School of Mechatronics Gwnagju Institute of Science and Technology.
Slide 9- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
1.4 Parametric Equations. Relations Circles Ellipses Lines and Other Curves What you’ll learn about… …and why Parametric equations can be used to obtain.
How do I succeed? 34 questions right out of 60 is a 22. That is 57% Spend time wisely on problems you can handle. FINISH the test!! NOT PUNISHED FOR WRONG.
Period 5 Nathan Rodriguez. -Point  a geometric element that has position but no extension; "a point is defined by its coordinates"
Math Sunshine State Standards Wall poster. MAA Associates verbal names, written word names, and standard numerals with integers, rational numbers,
Vectors and the Geometry of Space Copyright © Cengage Learning. All rights reserved.
Kinematic Synthesis 2 October 8, 2015 Mark Plecnik.
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
Cylinders and Quadratic Surfaces A cylinder is the continuation of a 2-D curve into 3-D.  No longer just a soda can. Ex. Sketch the surface z = x 2.
Outline: Introduction Solvability Manipulator subspace when n<6
Kinematic Synthesis October 6, 2015 Mark Plecnik.
Forging new generations of engineers. Parametric Modeling.
Solving Nonlinear Systems Section 3.5 beginning on page 132.
Copyright © Cengage Learning. All rights reserved. 7.3 Multivariable Linear Systems.
Constraints. Constraints in Inventor ? Constraints Defined Constraint - The state of being restricted or confined within prescribed bounds.
Basic Theory (for curve 01). 1.1 Points and Vectors  Real life methods for constructing curves and surfaces often start with points and vectors, which.
GEOMETRIC CAMERA CALIBRATION The Calibration Problem Least-Squares Techniques Linear Calibration from Points Reading: Chapter 3.
Unit 2 Lesson #3 Tangent Line Problems
MATHEMATICS B.A./B.Sc. (GENERAL) FIRST YEAR EXAMINATIONS,2012.
Computation of the solutions of nonlinear polynomial systems
Linear Equations by Dr. Shorouk Ossama.
10.8 Systems of Second-Degree Equations and Inequalities
Do Now Solve the following systems by what is stated: Substitution
Basic Graphing Techniques
Point-a location on a plane.
Solving Special Systems
Systems of Linear and Quadratic Equations
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
Complexity Theory in Practice
11 Vectors and the Geometry of Space
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
Chapter 4 . Trajectory planning and Inverse kinematics
SYSTEM OF LINEAR EQUATIONS
Geometric Constraints
Presentation transcript:

Elementary Constructions in Spatial Constraint Solving Christoph M. Hoffmann Ching-Shoei Chiang, Bo Yuan Computer Science, Purdue University

Graphics Vs. Constraints Traditional connections: Constraint-based model creation (CAD) Constraint-based scene creation (assembly) Other connections: Constrained motion (actors, shadows, …)

What is a GC Problem? A set of geometric elements in some space Points, lines, arcs, spheres, cylinders, … A set of constraints on them Distance, angle, tangency, incidence, … Solution: Coordinate assignment such that the constraints are satisfied, or notification that this cannot be done.

Task Structure Problem preparation  Underconstrained, fixed, etc.  Certain transformations, reasoning Decomposition of large problems Degree of freedom analysis Graph analysis Equation solving Numerical techniques Algebraic techniques

2D Constraint Solving Fairly mature technology – Efficient, robust and competent solvers Triangle decomposition of problems or other methods Points, lines, circular arcs Distance, angle, tangency, perpendicularity, etc. Under- and overconstrained cases Variety of extensions Other techniques also succeed

What Helps the Planar Case 1.Small vocabulary already useful 2.Small catalogue of algebraic systems 3.Algebraic systems easy

Example: Apollonius’ Problem Given 3 circles, find a circle tangent to all of them: Degree 8 system – but it factors into univariate quadratic equations by a suitable coordinate transformation

3D Solvers and Issues Points and planes Lines as well as points and planes Graph decomposition is OK Hoffmann, Lomonosov, Sitharam. JSC 2001 But equation solving is tricky: Sequential case involving lines Simultaneous cases No compact subset that has good applicability

Consequences Spatial constraint solvers are fairly limited in ability: Technology limitations impair application concepts Limited application concepts fail to make the case for better technology

Problem Subtypes Sequential: Place a single geometric element by constraints on other, known elements Simultaneous: Place a group of geometric elements simultaneously In 2D, sequential problems are easy, but in 3D…

Equation Solving Techniques 1.Geometric reasoning plus elimination 2.Systematic algebraic manipulation 3.Parametric computation 4.Geometric analysis (of sequential line constructions)

Octahedral Problems 6 points/planes, 12 constraints:

6p Example

Early Solutions (Vermeer) Mixture of geometric reasoning and algebraic simplification using resultants Univariate polynomial of degree 16 for 6p – tight bound

Michelucci’s Solution Formulate the Cayley- Menger determinant for 2 subsets of 5 entities Yields two degree 4 equations in 2 unknowns Extensions for planes

Systematic Framework (Durand) Process for 6p: 1. Gaussian elimination 2. Univariate equation solving 3. Bilinear and biquadratic equation parameterization 3 quartic equations in 3 variables (6p). BKK bound is 16. Homotopy tracking for 16 paths.

Simultaneous 3p3L Complete graph K 6

Systematic Solution (Durand) Initially 21 equations, process as before 1. Gaussian elimination 2. Univariate equation solving 3. Bilinear and biquadratic equation parameterization 6 equations in 6 variables, but total degree is

Durand cont’d Homotopy techniques applied to special case of orthogonal lines (~4100 paths): Real 48 Complex 895 At Infinity 3031 Failure 122

3p3L Example (Ortho Lines)

Simultaneous 5p1L Place 5 points and 1 line from distance constraints between the line and every point and between the points, in a square pyramid

5p1L Problem, Systematic Systematic algebraic treatment yields a system of degree 512 Coordinate system choices Heuristic: Choosing the line in a standard position tends to yield simpler equations

5p1L, Adding Reasoning Approach: Line on x-axis, 1 point on z-axis One point placed as function of z(t) = t Other points yield constraint equations Result: System (4 2,3 4,2 2 ) not resolving square roots. No significant algebraic simplifications

5p1L, Computation (Yuan) The parameterized equations are numerically quite tractable Trace the curve of the “missing dimension” numerically Intersect with the nominal value

Example Problem r d r d r d r d r d d d d

Resulting Curve 12 real solutions found

Sequential: L-pppp Given 4 fixed points and 4 distances, place a line

Nota Bene

L-pppp Solved Coordinate system choice

Constraint Equations on L

Algebraic Simplifications Use equations (2), (3) and (4) to solve for x, y, and z Resulting system has three equations of degree 4, 3, and 2 (Bezout bound 24) But if (u,v,w) solves the system, then so does (-u,-v,-w)…

Structure of surface of line tangents to 3 spheres on Gauss sphere

L-Lppp Problem Construct a line from another line and up to 3 points Subcases, by LL constraints: L-Lpp: The lines are parallel; clearly 2 solutions maximum L-Lpp: A distance is required; need good understanding of a kinematic curve L-Lppp: No distance is required (includes perpendicular); intersect 3 of the L-Lpp curves

Subcase LL Parallel Take a plane perpendicular to the fixed line Sphere silhouettes intersect in up to two points Up to two solutions

Main Tool Given 2 spheres and a direction, find the two tangents in that direction

Subcase LL Distance Only 2 spheres needed Fix plane at complement angle to fixed line Rotate the 2 spheres around the fixed axis yielding silhouette intersection curves Intersect with horizontal line

Silhouette curve degree 18?

No LL Distance Additional constraint from a third sphere (point with distance) Intersect the silhouette intersection pairs No degree estimates

Silhouette intersection curves meet at intersections of sought tangents