#include <cartotype_path.h>
A contour consisting of non-owned points using floating-point coordinates, all of them being on-curve points. A TContourFP may be open or closed.
◆ TContourFP()
CartoType::TContourFP::TContourFP |
( |
const TPointFP * |
aPoint, |
|
|
size_t |
aPoints, |
|
|
bool |
aClosed |
|
) |
| |
|
inline |
Creates a TContourFP referring to a certain number of points, specifying whether it is open or closed.
◆ Bounds()
TRectFP CartoType::TContourFP::Bounds |
( |
| ) |
const |
|
noexcept |
Returns the bounding box of this contour as an axis-aligned rectangle.
◆ Closed()
bool CartoType::TContourFP::Closed |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if this contour is closed.
◆ Contains()
bool CartoType::TContourFP::Contains |
( |
const TPointFP & |
aPoint | ) |
const |
|
noexcept |
Returns true if this contour contains aPoint.
◆ Intersects()
bool CartoType::TContourFP::Intersects |
( |
const TRectFP & |
aRect | ) |
const |
|
noexcept |
Returns true if this contour intersects aRect.
◆ Point()
const TPointFP * CartoType::TContourFP::Point |
( |
| ) |
const |
|
inlinenoexcept |
Returns a constant pointer to the first point.
◆ Points()
size_t CartoType::TContourFP::Points |
( |
| ) |
const |
|
inlinenoexcept |
Returns the number of points.
The documentation for this class was generated from the following files:
- cartotype_path.h
- cartotype_contour.cpp