56 void set(std::vector<Vector3>& pathPoints,
const Vector3& normal,
bool overwritePathPoints=
false);
73 typedef std::vector<BinnedLine> LinesVector;
78 void _transformAndProject(
Vector3& voxelPos)
const;
81 void _fillLineBins(
const std::vector<Vector3>& projectedPathPoints);
85 bool _testLinesInBin(
const Vector3& point)
const;
98 std::vector<LinesVector> _lineSegmentBin;
#define MLCSO_EXPORT
Defines export symbols for classes, so they can be used in other DLLs.
CSOPointInPolygonChecker(std::vector< Vector3 > &pathPoints, const Vector3 &normal, bool overwritePathPoints=false)
~CSOPointInPolygonChecker()
Destructor.
CSOPointInPolygonChecker(const CSO *cso)
Sets the polygon based on a CSO.
bool isPointInsidePolygon(const Vector3 &pos) const
Checks whether a specified point is inside the polygon.
void set(const CSO *cso)
Sets the polygon based on a CSO.
void set(std::vector< Vector3 > &pathPoints, const Vector3 &normal, bool overwritePathPoints=false)
Class to handle Rotations (internally, the rotation is stored as a unit quaternion).
Tvec3< MLdouble > Vector3
A vector with three components of type double.
Tvec2< MLdouble > Vector2
A vector with two components of type double.