SlideShare a Scribd company logo
1 of 47
Download to read offline
Topology and Geometry Basics
                  Andrey Dankevich
                         June 2010
Agenda
 CAGD Topology
 CAGD Geometry
 Parametric curves and surfaces
 Bezier curves, B-Splines, NURBS
Introduction
B-Rep is a method for representing shapes using the limits.


B-Rep models are composed of two parts:
 Topology describes how elements are bounded and connected.
 Geometry describes the shape of each individual element.c
Topology
 Topology is a branch of mathematics concerned with spatial
  properties preserved under continuous deformation (stretching
  without tearing or gluing); these properties are the topological
  invariants.
 On its own, topology defines a "rubber" model.
Topological entities
 Topological entities comprise all the entities that are used to
  construct the structure or skeleton of a model.
Bodies
 body is the highest level topological entity.
 When we construct models we will create bodies, rather than
  stand-alone lower topological entities.
 A body is composed of one or more components, where a
  component is a set of connected entities.
Bodies
      Type        Dim                       Description

     Acorn         0                    An isolated vertex.


      Wire         1                A set of connected edges.


     Sheet         2                 A set of connected faces.


      Solid        3                      A solid region.

               0, 1, 2, 3,
                             A connected set of: regions, faces, edges,
     General
                                             vertices
               Or mixed
Manifold bodies
 A manifold is a mathematical
  term for an object that locally
  resembles a line, a plane, or
  a space.
 Euler equation:

  v – e + f – h = 2(s – p),

v – vertices; h – hole loops;
e – edges; s – shells;
f – faces; p – passages.
Shell
- is a connected collection of oriented faces (each used by the shell
on one or both sides of the face) and edges.
Face
- is a bounded subset of a surface, whose boundary is a collection of
zero or more loops.
Loop
- represents a connected portion of the boundary of a face. It
consists of a chain of coedges (fins).
Fin (coedge)
- represents the oriented use of an edge by a loop.
A fin has logical ‘sense’
indicating whether the fin’s
orientation, and therefore
the orientation of its owning
loop, is the same as its
owning edge.
Edge
- is a bounded piece of a single curve.
 Its boundary is a collection of zero, one or two vertices.
 Each edge contains a record of its sense relative to its underlying
  curve.
Vertex
- represents a point in space.
Topology traversal
Topological entities
Geometry
Point
 point is a zero-dimensional object that represents a location or
  position in a given space.
 A point that resides in a one-dimensional space (that is, it resides
  on the real line) is often called a parameter.
 A point that resides in a two-dimensional space defining the
  domain of a parametrically defined surface is often termed a
  parametric location or a parametric position.
 A point that resides in the three-dimensional object space is often
  called a point, a location, or a position.
Curve
 Curves are 1-dimensional, in the sense that for parametric curves
  you need a single parameter to obtain a point on the curve;
 The parameter of the curve is u;
 Each curve maps a single parameter value u into a 3-dimensional
  point (x,y,z);
Surface
 surface is two-dimensional manifold in a three-dimensional space,
  with a single geometrical definition.
 A parametric surface maps a rectangle defined within a 2D real
  vector space (called parameter space) into a 3D real vector space
  (often called object space)
Natural surface normals
        Surface         Natural orientation

         plane         along its plane normal

        cylinder         away from its axis

         cone            away from its axis

        sphere         away from its center

                   away from the circle described
         torus
                          by its major axis
Continuity
 Continuity is a measure of the smoothness of a curve or surface.
 Parametric continuity, denoted by Cn, describes the maximum
  derivative of a parametric equation that is continuous.
 Geometric continuity, denoted by Gn, is a geometric property
  describing the smoothness of a that is independent of
  parameterization.
    G0 curve or surface is positionally continuous.
    A G1 curve or surface has continuous tangent directions,
     although the magnitude of tangent vectors may not be
     continuous.
    A G2 curve has a continuous radius of curvature.
A G2 Surface
A Surface with a Non-G2 Discontinuity
A Surface with a Non-G1 Discontinuity
A Surface with a Non-G0 Discontinuity
Parametric curves and surfaces
Implicit and parametric forms
 f(x,y) = 0 – implicit curve.
    – f(x,y) = x2 + y2 – 1 = 0 – a unit circle at origin.
 C ( u ) = ( x(u), y(u) ), a ≤ u ≤ b.
    – C(u) = ( cos(u), sin(u) ),         0 ≤ u ≤ π/2.
 f(x,y,z) = 0 – implicit surface.
    – f(x,y) = x2 + y2 + z2 – 1 = 0 – a unit sphere.
 S ( u, v ) = ( x(u, v), y(u, v), z(u, v) ), a ≤ u ≤ b.
    – x(u,v) = sin(u)cos(v)
    – y(u,v) = sin(u)sin(v)
    – z(u,v) = cos(u);      0 ≤ u ≤ π; 0 ≤ v ≤ 2π.
 Coordinate system dependent/independent, the parametric
  equations are also vector equations and hence the coord sys
  independence
 Given a point determine if its on the curve or surface easy in the
  implicit case difficult in the parametric case
 Generating points on the curve or surface easy in the parametric
  case, difficult in the implicit case.
 Notion of order in parametric equations, you can generate an
  ordered set of points on the curve. The tangent direction is the
  direction of increasing parameter values.
Line
 Data:
   – P0 – start point,
   – P1 – end point.




 Parametrization:
   – C ( u ) = ( 1 – u ) * P0 + u * P1.
Arc
 The arc is centered at the origin, and is parameterized by the angle of rotation from the first plane
  unit vector in the direction of the second plane vector.
 Data:
     – V1[3] - First vector that defines the plane of the arc;
     – V2[3] - Second vector that defines the plane of the arc;
     – Origin[3] - Origin that defines the plane of the arc;
     – start_angle - Angular parameter of the starting point;
     – end_angle - Angular parameter of the ending point;
     – Radius - Radius of the arc.
 Parametrization:
     – u' (the unnormalised parameter) = (1 - u) * start_angle + u * end_angle;
     – C(u) = radius * [cos(u') * V1 + sin(u') * V2] + origin.
Plane
 The plane entity consists of two perpendicular unit vectors (e1 and e2), the normal to the plane
  (e3), and the origin of the plane.
 Data:
    – E1[3] - Unit vector, in the u direction;
    – E2[3] - Unit vector, in the v direction;
    – E3[3] - Normal to the plane;
    – Origin[3] - Origin of the plane.
 Parametrization:
    – S(u,v) = u * e1 + v * e2 + origin
Cylinder
 The generating curve of a cylinder is a line, parallel to the axis, at a distance R from the axis. The
  radial distance of a point is constant, and the height of the point is v.
 Data:
     – E1[3] - Unit vector, in the u direction;
     – E2[3] - Unit vector, in the v direction;
     – E3[3] - Normal to the plane;
     – Origin[3] - Origin of the plane.
     – Radius - Radius of the cylinder.
 Parametrization:
     – S(u,v) = radius * [cos(u) * e1 + sin(u) * e2] + v * e3 + origin.
Bezier curves, B-Splines, NURBS
Spline “hierarchy”
Bezier curve
- A special form of a polynominal curve.
Given n+1 points P0, P1, P2, ... and Pn in space, the control points, the
Bézier curve defined by these control points is




the point that corresponds to u on the Bézier curve is the "weighted"
average of all control points, where the weights are the coefficients Bn,i(u).
Examination of cases
- Linear Bézier curves


- Quadratic Bézier curves


- Cubic Bézier curves
Properties of a Bézier curve
 All basis functions are non-negative.
 The sum of the basis functions at a fixed u is 1
 The degree of a curve is number of control points - 1
 Open curves always pass through first and last point.
 Tangent at first point is given by the direction of the first segment
  of control polygon.
 the same curve (and properties) exist when starting with the last
  control point.
 Convex hull property.
 Variation Diminishing property.
 Affine Invariance.
De Casteljau's Algorithm
 Choose a point C in line segment AB such that C divides the line
  segment           AB    in     a      ratio      of       u:1-u.
  i.e. C = (1 - u)A + uB
Constructing Bézier curves
Limitations of Bézier curves
 More complicated shapes require higher order Bezier curves.
 Bézier curves can not be modified “locally”. Movement of any
  control point will affect the whole curve.
Basic spline curves
 Instead of considering EVERY control point when evaluating a
  point, only consider closest k.




 The B-spline curve is composed of segments, each of degree k-1.
Basic spline equation
 Bézier basis functions are used as weights. B-spline basis functions
  will be used the same way; however, they are much more complex
Basic spline data
 Multiple segments:
    Order = k
    Number of control points = n
    Number of knots = n + k
        Knot vector, eg {0, 1, 2, 3, 4, 5, 7, 8}
 Number of segments:
    n-k+2 for open curves
    n-k+1 for closed curves

More Related Content

What's hot

Surface modelling
Surface modellingSurface modelling
Surface modellingjntuhcej
 
Part 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptxPart 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptxKhalil Alhatab
 
Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)manojg1990
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modellingjntuhcej
 
Visual realism -HIDDEN REMOVAL METHODS
Visual realism -HIDDEN REMOVAL METHODSVisual realism -HIDDEN REMOVAL METHODS
Visual realism -HIDDEN REMOVAL METHODSviswaaswaran
 
Hermite cubic spline curve
Hermite cubic spline curveHermite cubic spline curve
Hermite cubic spline curveDeepak Antil
 
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&MFUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&MBalamurugan Subburaj
 
Surface models
Surface modelsSurface models
Surface modelsnmahi96
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curveDhruv Shah
 
Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Pratik Gandhi
 
Numerical control machines
Numerical control machines Numerical control machines
Numerical control machines jntuhcej
 
Solid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationSolid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationDestro Destro
 
Unit 5-cad standards
Unit 5-cad standardsUnit 5-cad standards
Unit 5-cad standardsJavith Saleem
 
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURING
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURINGINTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURING
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURINGBalamurugan Subburaj
 
CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)Priscilla CPG
 
Cad cam input output devices
Cad cam input output devicesCad cam input output devices
Cad cam input output devicesJagilam Kumar
 
ppt of solid modeling for cad
ppt of solid modeling for cadppt of solid modeling for cad
ppt of solid modeling for cadAyush Upadhyay
 

What's hot (20)

Curves
CurvesCurves
Curves
 
Surface modelling
Surface modellingSurface modelling
Surface modelling
 
Part 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptxPart 4-Types and mathematical representations of Curves .pptx
Part 4-Types and mathematical representations of Curves .pptx
 
Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modelling
 
Visual realism -HIDDEN REMOVAL METHODS
Visual realism -HIDDEN REMOVAL METHODSVisual realism -HIDDEN REMOVAL METHODS
Visual realism -HIDDEN REMOVAL METHODS
 
Hermite cubic spline curve
Hermite cubic spline curveHermite cubic spline curve
Hermite cubic spline curve
 
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&MFUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
FUNDAMENTALS OF CNC & PART PROGRAMMING - UNIT - 4 CAD&M
 
GEOMETRIC MODELING
GEOMETRIC MODELINGGEOMETRIC MODELING
GEOMETRIC MODELING
 
Surface models
Surface modelsSurface models
Surface models
 
Synthetic curve
Synthetic curveSynthetic curve
Synthetic curve
 
Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)
 
Numerical control machines
Numerical control machines Numerical control machines
Numerical control machines
 
Solid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationSolid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representation
 
Unit 5-cad standards
Unit 5-cad standardsUnit 5-cad standards
Unit 5-cad standards
 
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURING
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURINGINTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURING
INTRODUCTION TO COMPUTER AIDED DESIGN & MANUFACTURING
 
CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)CAD - Unit-1 (Fundamentals of Computer Graphics)
CAD - Unit-1 (Fundamentals of Computer Graphics)
 
Geometric modeling
Geometric modelingGeometric modeling
Geometric modeling
 
Cad cam input output devices
Cad cam input output devicesCad cam input output devices
Cad cam input output devices
 
ppt of solid modeling for cad
ppt of solid modeling for cadppt of solid modeling for cad
ppt of solid modeling for cad
 

Viewers also liked

Solid modelling cg
Solid modelling cgSolid modelling cg
Solid modelling cgNareek
 
Solid modeling
Solid modelingSolid modeling
Solid modelingKRvEsL
 
Introduction to topology and geometry
Introduction to topology and geometryIntroduction to topology and geometry
Introduction to topology and geometrymicheleandnien
 
Cad lecture-4
Cad lecture-4Cad lecture-4
Cad lecture-427273737
 
Solidmodelling
SolidmodellingSolidmodelling
SolidmodellingGopi Chand
 
Sulpcegu5e ppt 10_7
Sulpcegu5e ppt 10_7Sulpcegu5e ppt 10_7
Sulpcegu5e ppt 10_7silvia
 
Lesson 14 b - parametric-1
Lesson 14 b - parametric-1Lesson 14 b - parametric-1
Lesson 14 b - parametric-1Jean Leano
 
Geometry, Topology, and all of Your Wildest Dreams Will Come True
Geometry, Topology, and all of Your Wildest Dreams Will Come TrueGeometry, Topology, and all of Your Wildest Dreams Will Come True
Geometry, Topology, and all of Your Wildest Dreams Will Come TrueDon Sheehy
 
Beyond Parametric - New Approach to Geometric Constraint Solving
Beyond Parametric - New Approach to Geometric Constraint SolvingBeyond Parametric - New Approach to Geometric Constraint Solving
Beyond Parametric - New Approach to Geometric Constraint SolvingNick Sidorenko
 
Equations of circles power point
Equations of circles   power pointEquations of circles   power point
Equations of circles power pointlbairdcshm
 
Development of body structure concepts for electric vehicles using the topolo...
Development of body structure concepts for electric vehicles using the topolo...Development of body structure concepts for electric vehicles using the topolo...
Development of body structure concepts for electric vehicles using the topolo...Altair
 
Presentation on muffler
Presentation  on  mufflerPresentation  on  muffler
Presentation on mufflerVk Goldy
 
Working of safety air bags and their manufacturing
Working of safety  air bags and their  manufacturingWorking of safety  air bags and their  manufacturing
Working of safety air bags and their manufacturingulasala thirumala rao
 
Various types of surfaces 131044119001
Various types of surfaces 131044119001Various types of surfaces 131044119001
Various types of surfaces 131044119001rockrakos
 
Network topology
Network topologyNetwork topology
Network topologyilakkiya
 
Intro to-freecad
Intro to-freecadIntro to-freecad
Intro to-freecadSLQedge
 
Developing Commercial Vehicles Inspired by Nature
Developing Commercial Vehicles Inspired by NatureDeveloping Commercial Vehicles Inspired by Nature
Developing Commercial Vehicles Inspired by NatureAltair
 

Viewers also liked (20)

Solid modelling cg
Solid modelling cgSolid modelling cg
Solid modelling cg
 
Solid modeling
Solid modelingSolid modeling
Solid modeling
 
Introduction to topology and geometry
Introduction to topology and geometryIntroduction to topology and geometry
Introduction to topology and geometry
 
Cad cam cae
Cad cam caeCad cam cae
Cad cam cae
 
Cad lecture-4
Cad lecture-4Cad lecture-4
Cad lecture-4
 
Solidmodelling
SolidmodellingSolidmodelling
Solidmodelling
 
Sulpcegu5e ppt 10_7
Sulpcegu5e ppt 10_7Sulpcegu5e ppt 10_7
Sulpcegu5e ppt 10_7
 
Lesson 14 b - parametric-1
Lesson 14 b - parametric-1Lesson 14 b - parametric-1
Lesson 14 b - parametric-1
 
Topology
TopologyTopology
Topology
 
Geometry, Topology, and all of Your Wildest Dreams Will Come True
Geometry, Topology, and all of Your Wildest Dreams Will Come TrueGeometry, Topology, and all of Your Wildest Dreams Will Come True
Geometry, Topology, and all of Your Wildest Dreams Will Come True
 
Beyond Parametric - New Approach to Geometric Constraint Solving
Beyond Parametric - New Approach to Geometric Constraint SolvingBeyond Parametric - New Approach to Geometric Constraint Solving
Beyond Parametric - New Approach to Geometric Constraint Solving
 
Equations of circles power point
Equations of circles   power pointEquations of circles   power point
Equations of circles power point
 
Development of body structure concepts for electric vehicles using the topolo...
Development of body structure concepts for electric vehicles using the topolo...Development of body structure concepts for electric vehicles using the topolo...
Development of body structure concepts for electric vehicles using the topolo...
 
Presentation on muffler
Presentation  on  mufflerPresentation  on  muffler
Presentation on muffler
 
Working of safety air bags and their manufacturing
Working of safety  air bags and their  manufacturingWorking of safety  air bags and their  manufacturing
Working of safety air bags and their manufacturing
 
Topology
TopologyTopology
Topology
 
Various types of surfaces 131044119001
Various types of surfaces 131044119001Various types of surfaces 131044119001
Various types of surfaces 131044119001
 
Network topology
Network topologyNetwork topology
Network topology
 
Intro to-freecad
Intro to-freecadIntro to-freecad
Intro to-freecad
 
Developing Commercial Vehicles Inspired by Nature
Developing Commercial Vehicles Inspired by NatureDeveloping Commercial Vehicles Inspired by Nature
Developing Commercial Vehicles Inspired by Nature
 

Similar to CAD Topology and Geometry Basics

Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4thTEJVEER SINGH
 
Lesson 1: distance between two points
Lesson 1: distance between two pointsLesson 1: distance between two points
Lesson 1: distance between two pointsJean Leano
 
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1  Three-Dimensional Coordinate SysChapter 12 Section 12.1  Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1 Three-Dimensional Coordinate SysEstelaJeffery653
 
Unit iii solid geometry
Unit iii  solid geometryUnit iii  solid geometry
Unit iii solid geometrymadhavimohite
 
Math - analytic geometry
Math - analytic geometryMath - analytic geometry
Math - analytic geometryimmortalmikhel
 
History,applications,algebra and mathematical form of plane in mathematics (p...
History,applications,algebra and mathematical form of plane in mathematics (p...History,applications,algebra and mathematical form of plane in mathematics (p...
History,applications,algebra and mathematical form of plane in mathematics (p...guesta62dea
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxmiki304759
 
EMT_2A_cylindrical coordinates.pptx
EMT_2A_cylindrical coordinates.pptxEMT_2A_cylindrical coordinates.pptx
EMT_2A_cylindrical coordinates.pptx5610UmarIqbal
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics FundamentalsMuhammed Afsal Villan
 
UNIT-1EMFT_KEE301 by anuj sharma.pptx
UNIT-1EMFT_KEE301  by anuj sharma.pptxUNIT-1EMFT_KEE301  by anuj sharma.pptx
UNIT-1EMFT_KEE301 by anuj sharma.pptxOPTIMUMGAMING
 
Lecture 5b graphs and hashing
Lecture 5b graphs and hashingLecture 5b graphs and hashing
Lecture 5b graphs and hashingVictor Palmar
 

Similar to CAD Topology and Geometry Basics (20)

Computer graphics unit 4th
Computer graphics unit 4thComputer graphics unit 4th
Computer graphics unit 4th
 
Curves in space
Curves in spaceCurves in space
Curves in space
 
Lesson 1: distance between two points
Lesson 1: distance between two pointsLesson 1: distance between two points
Lesson 1: distance between two points
 
R lecture co2_math 21-1
R lecture co2_math 21-1R lecture co2_math 21-1
R lecture co2_math 21-1
 
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1  Three-Dimensional Coordinate SysChapter 12 Section 12.1  Three-Dimensional Coordinate Sys
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
 
Unit iii solid geometry
Unit iii  solid geometryUnit iii  solid geometry
Unit iii solid geometry
 
Math14 lesson 1
Math14 lesson 1Math14 lesson 1
Math14 lesson 1
 
curve one
curve onecurve one
curve one
 
Math - analytic geometry
Math - analytic geometryMath - analytic geometry
Math - analytic geometry
 
Tarea 4
Tarea 4Tarea 4
Tarea 4
 
History,applications,algebra and mathematical form of plane in mathematics (p...
History,applications,algebra and mathematical form of plane in mathematics (p...History,applications,algebra and mathematical form of plane in mathematics (p...
History,applications,algebra and mathematical form of plane in mathematics (p...
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
 
EMT_2A_cylindrical coordinates.pptx
EMT_2A_cylindrical coordinates.pptxEMT_2A_cylindrical coordinates.pptx
EMT_2A_cylindrical coordinates.pptx
 
Graph
GraphGraph
Graph
 
Conic Section
Conic SectionConic Section
Conic Section
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
 
Plano numerico
Plano numericoPlano numerico
Plano numerico
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
 
UNIT-1EMFT_KEE301 by anuj sharma.pptx
UNIT-1EMFT_KEE301  by anuj sharma.pptxUNIT-1EMFT_KEE301  by anuj sharma.pptx
UNIT-1EMFT_KEE301 by anuj sharma.pptx
 
Lecture 5b graphs and hashing
Lecture 5b graphs and hashingLecture 5b graphs and hashing
Lecture 5b graphs and hashing
 

Recently uploaded

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 

Recently uploaded (20)

MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 

CAD Topology and Geometry Basics

  • 1. Topology and Geometry Basics Andrey Dankevich June 2010
  • 2. Agenda  CAGD Topology  CAGD Geometry  Parametric curves and surfaces  Bezier curves, B-Splines, NURBS
  • 3. Introduction B-Rep is a method for representing shapes using the limits. B-Rep models are composed of two parts:  Topology describes how elements are bounded and connected.  Geometry describes the shape of each individual element.c
  • 4.
  • 6.  Topology is a branch of mathematics concerned with spatial properties preserved under continuous deformation (stretching without tearing or gluing); these properties are the topological invariants.  On its own, topology defines a "rubber" model.
  • 7. Topological entities  Topological entities comprise all the entities that are used to construct the structure or skeleton of a model.
  • 8. Bodies  body is the highest level topological entity.  When we construct models we will create bodies, rather than stand-alone lower topological entities.  A body is composed of one or more components, where a component is a set of connected entities.
  • 9. Bodies Type Dim Description Acorn 0 An isolated vertex. Wire 1 A set of connected edges. Sheet 2 A set of connected faces. Solid 3 A solid region. 0, 1, 2, 3, A connected set of: regions, faces, edges, General vertices Or mixed
  • 10. Manifold bodies  A manifold is a mathematical term for an object that locally resembles a line, a plane, or a space.  Euler equation: v – e + f – h = 2(s – p), v – vertices; h – hole loops; e – edges; s – shells; f – faces; p – passages.
  • 11. Shell - is a connected collection of oriented faces (each used by the shell on one or both sides of the face) and edges.
  • 12. Face - is a bounded subset of a surface, whose boundary is a collection of zero or more loops.
  • 13. Loop - represents a connected portion of the boundary of a face. It consists of a chain of coedges (fins).
  • 14. Fin (coedge) - represents the oriented use of an edge by a loop. A fin has logical ‘sense’ indicating whether the fin’s orientation, and therefore the orientation of its owning loop, is the same as its owning edge.
  • 15. Edge - is a bounded piece of a single curve.  Its boundary is a collection of zero, one or two vertices.  Each edge contains a record of its sense relative to its underlying curve.
  • 16. Vertex - represents a point in space.
  • 20. Point  point is a zero-dimensional object that represents a location or position in a given space.  A point that resides in a one-dimensional space (that is, it resides on the real line) is often called a parameter.  A point that resides in a two-dimensional space defining the domain of a parametrically defined surface is often termed a parametric location or a parametric position.  A point that resides in the three-dimensional object space is often called a point, a location, or a position.
  • 21. Curve  Curves are 1-dimensional, in the sense that for parametric curves you need a single parameter to obtain a point on the curve;  The parameter of the curve is u;  Each curve maps a single parameter value u into a 3-dimensional point (x,y,z);
  • 22. Surface  surface is two-dimensional manifold in a three-dimensional space, with a single geometrical definition.  A parametric surface maps a rectangle defined within a 2D real vector space (called parameter space) into a 3D real vector space (often called object space)
  • 23. Natural surface normals Surface Natural orientation plane along its plane normal cylinder away from its axis cone away from its axis sphere away from its center away from the circle described torus by its major axis
  • 24. Continuity  Continuity is a measure of the smoothness of a curve or surface.  Parametric continuity, denoted by Cn, describes the maximum derivative of a parametric equation that is continuous.  Geometric continuity, denoted by Gn, is a geometric property describing the smoothness of a that is independent of parameterization.  G0 curve or surface is positionally continuous.  A G1 curve or surface has continuous tangent directions, although the magnitude of tangent vectors may not be continuous.  A G2 curve has a continuous radius of curvature.
  • 26. A Surface with a Non-G2 Discontinuity
  • 27. A Surface with a Non-G1 Discontinuity
  • 28. A Surface with a Non-G0 Discontinuity
  • 30. Implicit and parametric forms  f(x,y) = 0 – implicit curve. – f(x,y) = x2 + y2 – 1 = 0 – a unit circle at origin.  C ( u ) = ( x(u), y(u) ), a ≤ u ≤ b. – C(u) = ( cos(u), sin(u) ), 0 ≤ u ≤ π/2.  f(x,y,z) = 0 – implicit surface. – f(x,y) = x2 + y2 + z2 – 1 = 0 – a unit sphere.  S ( u, v ) = ( x(u, v), y(u, v), z(u, v) ), a ≤ u ≤ b. – x(u,v) = sin(u)cos(v) – y(u,v) = sin(u)sin(v) – z(u,v) = cos(u); 0 ≤ u ≤ π; 0 ≤ v ≤ 2π.
  • 31.
  • 32.  Coordinate system dependent/independent, the parametric equations are also vector equations and hence the coord sys independence  Given a point determine if its on the curve or surface easy in the implicit case difficult in the parametric case  Generating points on the curve or surface easy in the parametric case, difficult in the implicit case.  Notion of order in parametric equations, you can generate an ordered set of points on the curve. The tangent direction is the direction of increasing parameter values.
  • 33. Line  Data: – P0 – start point, – P1 – end point.  Parametrization: – C ( u ) = ( 1 – u ) * P0 + u * P1.
  • 34. Arc  The arc is centered at the origin, and is parameterized by the angle of rotation from the first plane unit vector in the direction of the second plane vector.  Data: – V1[3] - First vector that defines the plane of the arc; – V2[3] - Second vector that defines the plane of the arc; – Origin[3] - Origin that defines the plane of the arc; – start_angle - Angular parameter of the starting point; – end_angle - Angular parameter of the ending point; – Radius - Radius of the arc.  Parametrization: – u' (the unnormalised parameter) = (1 - u) * start_angle + u * end_angle; – C(u) = radius * [cos(u') * V1 + sin(u') * V2] + origin.
  • 35. Plane  The plane entity consists of two perpendicular unit vectors (e1 and e2), the normal to the plane (e3), and the origin of the plane.  Data: – E1[3] - Unit vector, in the u direction; – E2[3] - Unit vector, in the v direction; – E3[3] - Normal to the plane; – Origin[3] - Origin of the plane.  Parametrization: – S(u,v) = u * e1 + v * e2 + origin
  • 36. Cylinder  The generating curve of a cylinder is a line, parallel to the axis, at a distance R from the axis. The radial distance of a point is constant, and the height of the point is v.  Data: – E1[3] - Unit vector, in the u direction; – E2[3] - Unit vector, in the v direction; – E3[3] - Normal to the plane; – Origin[3] - Origin of the plane. – Radius - Radius of the cylinder.  Parametrization: – S(u,v) = radius * [cos(u) * e1 + sin(u) * e2] + v * e3 + origin.
  • 39. Bezier curve - A special form of a polynominal curve. Given n+1 points P0, P1, P2, ... and Pn in space, the control points, the Bézier curve defined by these control points is the point that corresponds to u on the Bézier curve is the "weighted" average of all control points, where the weights are the coefficients Bn,i(u).
  • 40. Examination of cases - Linear Bézier curves - Quadratic Bézier curves - Cubic Bézier curves
  • 41. Properties of a Bézier curve  All basis functions are non-negative.  The sum of the basis functions at a fixed u is 1  The degree of a curve is number of control points - 1  Open curves always pass through first and last point.  Tangent at first point is given by the direction of the first segment of control polygon.  the same curve (and properties) exist when starting with the last control point.  Convex hull property.  Variation Diminishing property.  Affine Invariance.
  • 42. De Casteljau's Algorithm  Choose a point C in line segment AB such that C divides the line segment AB in a ratio of u:1-u. i.e. C = (1 - u)A + uB
  • 44. Limitations of Bézier curves  More complicated shapes require higher order Bezier curves.  Bézier curves can not be modified “locally”. Movement of any control point will affect the whole curve.
  • 45. Basic spline curves  Instead of considering EVERY control point when evaluating a point, only consider closest k.  The B-spline curve is composed of segments, each of degree k-1.
  • 46. Basic spline equation  Bézier basis functions are used as weights. B-spline basis functions will be used the same way; however, they are much more complex
  • 47. Basic spline data  Multiple segments:  Order = k  Number of control points = n  Number of knots = n + k  Knot vector, eg {0, 1, 2, 3, 4, 5, 7, 8}  Number of segments:  n-k+2 for open curves  n-k+1 for closed curves