Chapter 2 · 6 hours
Geometric Modeling Fundamentals
Practice questions
Practice questions and answers
5 exam-style questions on this chapter, written for this site from the official syllabus. We haven’t found past IOE papers for this subject yet; if you have some, share them in the community.
- Practice · 6 marks
Differentiate between geometry and topology in solid modelling. A rectangular block has a square hole drilled completely through it, from the top face to the bottom face. It has 16 vertices, 24 edges and 10 faces. Use the Euler-Poincare formula to find the number of rings (inner loops) and check that the solid is valid.
Answer
Geometry and topology
Geometry is the metric information of the model: actual coordinates of points, equations of curves and surfaces, lengths, angles, radii. Topology is the connectivity information: how vertices, edges and faces are joined, and which side of a face is material. It does not change when the shape is stretched.
| Point | Geometry | Topology |
|---|---|---|
| Describes | Size and shape | Connectivity and adjacency |
| Examples | Coordinates, line equation, radius | Vertex-edge-face relations, loops, shells |
| Under scaling | Changes | Unchanged |
| Used for | Display, measurement | Validity checks, B-rep data structure |
Euler-Poincare formula
For a valid solid with holes (genus) and inner loops:
where = vertices, = edges, = faces, = rings (inner loops on faces), = shells, = through-holes (genus).
Numerical
Given: , , , one shell , one through-hole .
The two rings are the square hole boundaries on the top face and on the bottom face. Each of these faces has an outer loop and one inner loop, so , which agrees with the physical block. The formula is satisfied, so the topology is valid.
Answer: inner loops (top and bottom faces); , so the solid is valid.
- Practice · 6 marks
Explain the Cartesian, cylindrical and spherical coordinate systems used in geometric modelling. (a) Convert the Cartesian point (3, 4, 5) into cylindrical and spherical coordinates. (b) Convert the spherical point r = 10, theta = 60 deg (measured from the +Z axis), phi = 45 deg (azimuth from +X in the XY plane) into Cartesian coordinates.
Answer
Coordinate systems
- Cartesian : three mutually perpendicular axes; simplest for prismatic shapes and used internally by CAD.
- Cylindrical : radial distance in the XY plane, azimuth angle from +X, and height; suited to shafts, holes and revolved parts.
- Spherical : distance from origin, polar angle from +Z, azimuth from +X; suited to spheres and radial scanning.
Relations:
(a) Point (3, 4, 5)
Cylindrical: . Spherical: .
(b) Spherical to Cartesian
Answer: (a) cylindrical (5, 53.13 deg, 5); spherical (7.071, 45 deg, 53.13 deg). (b) Cartesian (6.124, 6.124, 5.000) in the same length units.
- Practice · 5 marks
Two vectors are A = 2i + 3j + k and B = 4i - j + 2k. Find (a) A.B, (b) A x B, (c) the angle between them, (d) the unit vector normal to the plane of A and B, and (e) the area of the parallelogram formed by A and B. State where each result is used in geometric modelling.
Answer
Given
, .
(a) Dot product
(b) Cross product
(c) Angle
, .
(d) Unit normal
(e) Area of parallelogram
Area square units.
Uses in modelling
- Dot product: angle between edges, projection of a point on a line, checking perpendicularity (dot product = 0).
- Cross product: surface normal of a face (used in shading, offsetting, STL facet normals), area of a face, and the sign of a turn.
Answer: A.B = 7; AxB = (7, 0, -14); angle = 65.9 deg; unit normal = (0.447, 0, -0.894); area = 15.65 square units.
- Practice · 6 marks
Differentiate between parametric and non-parametric representation of curves. Why is parametric representation preferred in CAD? Represent a circle of radius 5 centred at the origin in both forms.
Answer
Non-parametric representation gives a direct relation between coordinates: explicit or implicit . Parametric representation expresses each coordinate as a function of an independent parameter : , , , with in a range, usually .
| Point | Non-parametric | Parametric |
|---|---|---|
| Form | or | |
| Multi-valued curves (circle) | Explicit form fails (two values per ) | No problem |
| Vertical tangent | Slope becomes infinite | , remain finite |
| Axis dependence | Depends on chosen axes | Independent of axes |
| Point generation | Solve equation, may need iteration | Substitute directly |
| Bounded segments | Needs extra conditions | Limits of define the segment |
| 3D curves | Needs two equations | Easy to extend |
| Transformation | Equation must be re-derived | Transform control points / vector |
Why parametric is preferred
- Curves can be closed, multi-valued or have vertical tangents.
- Easy to generate points at equal steps of for display and tool paths.
- Tangent vector is simply .
- Segments are bounded and can be joined with continuity conditions.
- Same equation works in 2D and 3D, and with any axes.
Circle of radius 5
Non-parametric (implicit): ; explicit form needs two branches .
Parametric:
For example gives directly, where the explicit form has an infinite slope.
- Practice · 8 marks
Explain the three types of geometric modelling: wireframe, surface and solid modelling. Compare them with their advantages, limitations and applications.
Answer
Geometric modelling is the computer representation of the shape of an object. Three types are used, in increasing order of completeness.
Wireframe modelling
The object is represented by its edges (lines, arcs, curves) and vertices only; there are no faces.
- Advantages: small data, fast to create and display, little memory, good for simple layouts and tool-path skeletons.
- Limitations: ambiguous (a cube can be read in several ways), no hidden-line removal, no surface or volume data, no mass properties, no shading.
Surface modelling
The object is described by its bounding surfaces (plane, ruled, revolved, Bezier, B-spline, Coons patches), stored with edges.
- Advantages: can model free-form shapes, supports hidden-line removal and shading, gives surface normals for NC machining and for aerodynamic shapes.
- Limitations: the inside/outside of the object is unknown; no volume or mass properties; surfaces may have gaps or overlaps.
- Applications: car bodies, aircraft skins, ship hulls, consumer product casings, dies and moulds.
Solid modelling
The object is represented as a closed volume with a definite inside and outside. Two main schemes:
- CSG (constructive solid geometry): primitives (block, cylinder, sphere, cone) combined with Boolean operations (union, intersection, difference); stored as a binary tree.
- B-rep (boundary representation): faces, edges, vertices with topology.
- Advantages: unambiguous and complete, volume, mass, centre of gravity and moment of inertia available, interference checking, FEA meshing, CAM links.
- Limitations: more memory and computing; free-form shapes are harder.
| Feature | Wireframe | Surface | Solid |
|---|---|---|---|
| Data stored | Edges, vertices | Surfaces + edges | Volume + topology |
| Hidden line removal | No | Yes | Yes |
| Mass properties | No | No | Yes |
| Ambiguity | High | Low | None |
| Memory | Least | Medium | Most |
| Typical use | Layout, concept | Free-form shapes | Engineering parts |
Written from the official syllabus. Questions and answers are written for this site; check them against your class notes.
Chapter titles and hours from the IOE syllabus ↗