Content deleted Content added
m typo |
Maxeto0910 (talk | contribs) m period after sentence |
||
(8 intermediate revisions by 6 users not shown) | |||
Line 1:
{{Short description|
[[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]], '''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]], which were all that early
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
A common set of two-dimensional primitives includes lines, points, and [[polygon]]s, although some people prefer to consider
== Common primitives ==
The set of geometric primitives is based on the ''[[
*
*
* ''
*
A shape of any of these dimensions greater than zero consists of an infinite number of distinct points. Because digital systems are finite, only a sample set of the points in a shape can be stored. Thus, vector data structures typically represent geometric primitives using a strategic sample, organized in structures that facilitate the software [[Interpolation|interpolating]] the remainder of the shape at the time of analysis or display, using the algorithms of [[Computational geometry]].<ref>[https://saylordotorg.github.io/text_essentials-of-geographic-information-systems/s08-02-vector-data-models.html Vector Data Models], ''Essentials of Geographic Information Systems'', Saylor Academy, 2012</ref>
* A '''Point''' is a single coordinate in a [[Cartesian coordinate system]]. Some data models allow for '''Multipoint''' features consisting of several disconnected points.
Line 48 ⟶ 50:
*[[2D geometric model]]
*[[Sculpted prim]]
*[[Simplex]]
==References==
|