#include <Polygon3d.hpp>
Public Member Functions | |
void | addHole (const Point3dVector &hole) |
void | addPoint (const Point3d &point) |
Point3d | centroid () |
Point3dVector | getEdge (size_t i) |
Point3dVectorVector | getInnerPaths () const |
Point3dVector | getOuterPath () const |
size_t | getSize () |
double | grossArea () |
bool | inside (const Point3d &point, double tol=0.01) |
bool | isClockwise () |
double | netArea () |
Vector3d | newallVector () |
Vector3d | outwardNormal () |
std::vector< Point3dVector > | overlap (const Point3dVector &line) const |
double | perimeter () |
bool | pointInPolygon (const Point3d &point, double tol=0.01) |
Polygon3d () | |
Polygon3d (const Point3dVector &outerPath) | |
Polygon3d (const Point3dVector &outerPath, const Point3dVectorVector &innerPaths) | |
void | setOuterPath (const Point3dVector &outerPath) |
bool | within (const Point3d &point, double tol=0.01) |
openstudio::Polygon3d::Polygon3d | ( | ) |
openstudio::Polygon3d::Polygon3d | ( | const Point3dVector & | outerPath | ) |
openstudio::Polygon3d::Polygon3d | ( | const Point3dVector & | outerPath, |
const Point3dVectorVector & | innerPaths | ||
) |
void openstudio::Polygon3d::addHole | ( | const Point3dVector & | hole | ) |
void openstudio::Polygon3d::addPoint | ( | const Point3d & | point | ) |
Point3d openstudio::Polygon3d::centroid | ( | ) |
Point3dVector openstudio::Polygon3d::getEdge | ( | size_t | i | ) |
Point3dVectorVector openstudio::Polygon3d::getInnerPaths | ( | ) | const |
Point3dVector openstudio::Polygon3d::getOuterPath | ( | ) | const |
size_t openstudio::Polygon3d::getSize | ( | ) |
double openstudio::Polygon3d::grossArea | ( | ) |
bool openstudio::Polygon3d::inside | ( | const Point3d & | point, |
double | tol = 0.01 |
||
) |
bool openstudio::Polygon3d::isClockwise | ( | ) |
double openstudio::Polygon3d::netArea | ( | ) |
Vector3d openstudio::Polygon3d::newallVector | ( | ) |
Vector3d openstudio::Polygon3d::outwardNormal | ( | ) |
std::vector<Point3dVector> openstudio::Polygon3d::overlap | ( | const Point3dVector & | line | ) | const |
double openstudio::Polygon3d::perimeter | ( | ) |
bool openstudio::Polygon3d::pointInPolygon | ( | const Point3d & | point, |
double | tol = 0.01 |
||
) |
void openstudio::Polygon3d::setOuterPath | ( | const Point3dVector & | outerPath | ) |
bool openstudio::Polygon3d::within | ( | const Point3d & | point, |
double | tol = 0.01 |
||
) |