C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Triangulation. More...
#include <mesh_primitive.h>
#include <templ_s_array.h>
#include <mesh_float_point3d.h>
#include <mesh_float_point.h>
#include <mesh_triangle.h>
#include <mb_data.h>
Classes | |
class | MbExactGrid |
Triangulation on double data. More... | |
class | MbFloatGrid |
Triangulation on float data. More... | |
Functions | |
bool | PolygonTubeGrid (const MbPolygon3D &poly, double radius, double sag, MbGrid &grid) |
Construct triangulations in the form of a tube of given radius around the polygon. More... | |
bool | PolygonToGrid (const MbPolygon &poly, MbGrid &grid) |
Convert two-dimensional polygon to triangulation. More... | |
bool | LineTriangleIntersect (const MbFloatPoint3D &tri_v0, const MbFloatPoint3D &tri_v1, const MbFloatPoint3D &tri_v2, const MbFloatAxis3D &line, float epsilon, MbFloatPoint3D &crossPnt, float &tRes) |
Find the intersection of a line with a triangle. More... | |
bool | LineGridIntersect (const MbGrid &grid, const MbFloatAxis3D &line, MbFloatPoint3D &crossPnt, float &tRes) |
Find the intersection of a straight line with the triangulation. More... | |
bool | LineGridIntersect (const MbGrid &grid, const MbFloatAxis3D &line, MbFloatPoint3D &crossPnt, float &tRes, c3d::IndicesPair &tqInd) |
Find the intersection of a straight line with the triangulation. More... | |
bool | LineGridIntersect (const MbGrid &grid, const MbFloatAxis3D &line, const MbPlacement3D &cutPlace, MbFloatPoint3D &crossPnt, float &tRes) |
Find the intersection of a straight line with the triangulation. More... | |
bool | LineGridIntersect (const MbGrid &grid, const MbFloatAxis3D &line, const std::vector< MbPlacement3D > &cutPlaces, MbFloatPoint3D &crossPnt, float &tRes) |
Find the intersection of a straight line with the triangulation. More... | |
bool | LineGridIntersect (const MbGrid &grid, const MbFloatAxis3D &line, float &tRes) |
Find the intersection of a straight line with the triangulation. More... | |
float | LineToGridEdgeDistanceSquared (const MbGrid &grid, size_t edgeInd, const MbFloatAxis3D &line, float delta, float &tRes) |
Calculate squared distance from a line to a polygon. More... | |
float | LineToGridEdgeDistanceSquared (const MbGrid &grid, size_t edgeInd, const MbFloatAxis3D &line, const MbFloatVector3D &vDelta, MbFloatVector3D &vRes, float &tRes) |
Calculate squared distance from a line to a polygon. More... | |
MbPlane * | CreateCloudPointsPlane (const c3d::SpacePointsVector &points) |
Create a plane based on the moments of inertia of the point cloud. More... | |
Triangulation.