Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Geometric primitive
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Basic shapes represented in vector graphics}} [[File:beetle.svg|thumb|340px|[[Vector graphics]] consists of geometrical primitives.]] In [[Vector graphics|vector]] [[computer graphics]], [[Computer-aided design|CAD systems]], and [[geographic information systems]], a '''geometric primitive''' (or '''prim''') is the simplest (i.e. 'atomic' or irreducible) [[geometric shape]] that the system can handle (draw, store). Sometimes the [[subroutine]]s that draw the corresponding objects are called "geometric primitives" as well. The most "primitive" primitives are [[point (geometry)|point]] and straight [[line segment]]s, which were all that early vector graphics systems had. In [[constructive solid geometry]], primitives are simple [[geometry|geometric]] shapes such as a [[Cube (geometry)|cube]], [[cylinder (geometry)|cylinder]], [[sphere]], [[cone (geometry)|cone]], [[Pyramid (geometry)|pyramid]], [[torus]]. Modern [[2D computer graphics]] systems may operate with primitives which are [[Curve|curves]] (segments of straight lines, [[circle]]s and more complicated curves), as well as shapes (boxes, arbitrary polygons, circles). A common set of two-dimensional primitives includes lines, points, and [[polygon]]s, although some people prefer to consider [[triangle]]s primitives, because every polygon can be constructed from triangles. All other graphic elements are built up from these primitives. In three dimensions, triangles or polygons positioned in three-dimensional space can be used as primitives to model more complex 3D forms. In some cases, curves (such as [[Bézier curve]]s, [[circle]]s, etc.) may be considered primitives; in other cases, curves are complex forms created from many straight, primitive shapes.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)