CHAPTER 5 GEOMETRIC PRIMITIVES IN 2D
This chapter contains the definitions for various two-dimensional geometric primitives that are commonly used in applications. Some of the primitives have multiple representations. A geometric query involving an object might be more effectively formulated with one representation than another. The discussion about a query will indicate which representation is more appropriate.
In geometric queries with objects such as polygons, the object can be treated as a one-dimensional or a two-dimensional object. For example, the triangle as a one-dimensional object is just the closed polyline perimeter. As a two-dimensional object, the triangle refers to its polyline perimeter and the region that it bounds. Some objects ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access