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 ...

Get Geometric Tools for Computer Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.