#include <geom/shape.hpp>
|
| std::vector< Point > | pts |
| | 1 point, open polyline (>= 2), or closed polygon (>= 3)
|
| Coord | r = 0 |
| | inflation radius
|
| bool | closed = false |
| | polygon interior is part of the shape
|
| Box | box |
| | bounding box including r
|
Definition at line 18 of file shape.hpp.
◆ point()
◆ polygon()
◆ polyline()
◆ segment()
◆ set_point()
| void tmk::geom::Shape::set_point |
( |
Point | p, |
|
|
Coord | r ) |
Reset to a disk, reusing point storage for scratch legality checks.
◆ update_box()
| void tmk::geom::Shape::update_box |
( |
| ) |
|
◆ box
| Box tmk::geom::Shape::box |
bounding box including r
Definition at line 22 of file shape.hpp.
◆ closed
| bool tmk::geom::Shape::closed = false |
polygon interior is part of the shape
Definition at line 21 of file shape.hpp.
◆ pts
| std::vector<Point> tmk::geom::Shape::pts |
1 point, open polyline (>= 2), or closed polygon (>= 3)
Definition at line 19 of file shape.hpp.
| Coord tmk::geom::Shape::r = 0 |
inflation radius
Definition at line 20 of file shape.hpp.
The documentation for this struct was generated from the following file: