Triangle
A triangle is a polygon with three sides and three vertices.
Geometry for Programmers
A polygon bounded by three line segments joining three noncollinear vertices.
- How it is used
- Represents surfaces as simple elements and supplies terminology for geometry code, mesh models, and algorithm inputs.
- How deep it goes
- Defines vertices, points, boundaries, degeneracy, adjacency, and mesh quality, but defers a full treatment of manifolds.
- Examples
- Uses vertex-and-point diagrams, on-versus-in boundary diagrams, degenerate needles and caps, and neighboring triangles in a mesh.
- What you can do after
- Evaluate triangle terminology and quality, recognize degenerate cases, and understand their consequences for mesh topology and algorithms.
Math for Web Design
A triangle is a polygon with three sides and three vertices.
- How it is used
- Supports frontend layouts, rotations, animations, directional calculations, and canvas or SVG geometry.
- How deep it goes
- Explains right-triangle side ratios, unit-circle coordinates, radians, and repeating function behavior without developing advanced geometry.
- Examples
- Uses a right-triangle diagram, unit-circle values, mouse coordinates, canvas lines, CSS rotation, and curved frontend animations.
- What you can do after
- Apply triangle relationships to calculate horizontal and vertical components, slopes, positions, rotations, and movement directions.
Related concepts
- geometric primitivekind of · A geometric primitive is a basic geometric shape or element that serves as a building block for representing or constructing more complex geometry.
- edgehas part · An edge is a boundary-like feature marking a transition between adjacent regions or elements.
- nodehas part · A node is a discrete element of a graph, tree, linked structure, network, or computing system that can represent an entity, state, or component and may connect to other elements.
- degenerate triangleincludes · A degenerate triangle is a triangle with zero area because its vertices coincide or are collinear.
- hybrid modelused by · A hybrid model is a geometric representation that combines smooth surface elements and triangle mesh elements in one model or across interchangeable representations.
Questions about triangle
What is triangle?
A triangle is a polygon with three sides and three vertices.
Which Manning books explain triangle?
Geometry for Programmers and Math for Web Design.
What kinds of triangle are there?
Kinds of triangle include degenerate triangle and right-angled triangle.
What is triangle a kind of?
Triangle is a kind of geometric primitive. A geometric primitive is a basic geometric shape or element that serves as a building block for representing or constructing more complex geometry.
What are the parts of triangle?
Triangle includes edge and node.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

