liveBook · Manning

Edge

As explained in Digital Twins in Action

A geometric edge is a line segment connecting two vertices in a polygonal model.

An edge is a line segment connecting two vertices in a polygonal model. Edges form the boundaries of faces: a triangular face, for example, has three vertices and three edges. section 7.1

In a mesh, connected polygonal faces represent an object’s surface. This differs from a point cloud, which represents an object as discrete points, and a voxel model, which uses volumetric cubes. Meshes balance visual fidelity, geometric accuracy, and computational efficiency for digital-twin visualization. section 7.1

Edges in an OBJ cube

A cube can be defined in a text-based OBJ file using vertices, face normals, and faces. In the front face `f 1//1 2//1 3//1 4//1`, the four vertex references define a quadrilateral boundary: its edges connect vertices 1–2, 2–3, 3–4, and 4–1. The normal indicates the face’s perpendicular direction for lighting and rendering. section 7.1

Listing 7.1 Definition of a 3D cube in OBJ file format
# Vertices
v -1.0 -1.0  1.0
v  1.0 -1.0  1.0
v  1.0  1.0  1.0
v -1.0  1.0  1.0
v -1.0 -1.0 -1.0
v  1.0 -1.0 -1.0
v  1.0  1.0 -1.0
v -1.0  1.0 -1.0

# Face normals
vn  0.0  0.0  1.0  # Front face normal
vn  1.0  0.0  0.0  # Right face normal
vn  0.0  0.0 -1.0  # Back face normal
vn -1.0  0.0  0.0  # Left face normal
vn  0.0  1.0  0.0  # Top face normal
vn  0.0 -1.0  0.0  # Bottom face normal

# Faces (format: vertex//normal)
f 1//1 2//1 3//1 4//1  # Front face
f 2//2 6//2 7//2 3//2  # Right face
f 6//3 5//3 8//3 7//3  # Back face
f 5//4 1//4 4//4 8//4  # Left face
f 4//5 3//5 7//5 8//5  # Top face
f 5//6 6//6 2//6 1//6  # Bottom face

Inspect the cube’s vertex coordinates, face normals, and face definitions to see how its polygon boundaries are specified. section 7.1

How Digital Twins in Action covers it

How deep it goes
Defines edges and related mesh primitives, then illustrates their use in a cube without detailing edge-specific storage or algorithms.
Examples
Provides a text-based OBJ cube with vertex coordinates, face normals, and quadrilateral face definitions.
What you can do after
Build it from scratch by defining vertices, faces, and normals in a text-based 3D model.
How it connects
Connects vertices, faces, polygons, and normals in a mesh representation.

Also explained in

Compare how 19 books explain edge →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Digital Twins in Action. The section links point to the parts of the book it draws on.