#include <PlanarIntersector.hxx>
|
| void | createBoundingBoxes (const MyMeshType &mesh, std::vector< double > &bbox) |
| |
| void | getElemBB (double *bb, const MyMeshType &mesh, ConnType iP, ConnType nb_nodes) |
| |
| virtual const DuplicateFacesType * | getIntersectFaces () const |
| |
| | PlanarIntersector (const MyMeshType &meshT, const MyMeshType &meshS, double dimCaracteristic, double precision, double md3DSurf, double minDot3DSurf, double medianPlane, bool doRotate, int orientation, int printLevel) |
| |
| virtual | ~PlanarIntersector () |
| |
| void | adjustBoundingBoxes (double *bbox, std::size_t sz, double adjustmentEps, double adjustmentEpsAbs) |
| |
| void | adjustBoundingBoxes (std::vector< double > &bbox, double adjustmentEps, double adjustmentEpsAbs) |
| |
| virtual ConnType | getNumberOfColsOfResMatrix () const =0 |
| |
| virtual ConnType | getNumberOfRowsOfResMatrix () const =0 |
| |
| virtual void | intersectCells (ConnType targetCell, const std::vector< ConnType > &srcCells, MyMatrix &res)=0 |
| |
| virtual | ~TargetIntersector () |
| |
|
| static int | Projection (double *Coords_A, double *Coords_B, ConnType nb_NodesA, ConnType nb_NodesB, double epsilon, double md3DSurf, double minDot3DSurf, double median_plane, bool do_rotate) |
| |
|
| void | getRealCoordinates (ConnType icellT, ConnType icellS, ConnType nbNodesT, ConnType nbNodesS, std::vector< double > &coordsT, std::vector< double > &coordsS, int &orientation) |
| |
| void | getRealSourceCoordinates (ConnType icellS, std::vector< double > &coordsS) |
| |
| void | getRealSourceCoordinatesPermute (ConnType icellS, ConnType offset, std::vector< double > &coordsS) |
| |
| void | getRealTargetCoordinates (ConnType icellT, std::vector< double > &coordsT) |
| |
| void | getRealTargetCoordinatesPermute (ConnType icellT, ConnType offset, std::vector< double > &coordsT) |
| |
| double | getValueRegardingOption (double val) const |
| |
| int | projectionThis (double *Coords_A, double *Coords_B, ConnType nb_NodesA, ConnType nb_NodesB) |
| |
|
| static void | Rotate3DTriangle (double *PP1, double *PP2, double *PP3, TranslationRotationMatrix &rotation_matrix) |
| |
◆ ConnType
template<class MyMeshType , class MyMatrix >
◆ DuplicateFacesType
template<class MyMeshType , class MyMatrix >
◆ PlanarIntersector()
template<class MyMeshType , class MyMatrix >
| INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::PlanarIntersector |
( |
const MyMeshType & |
meshT, |
|
|
const MyMeshType & |
meshS, |
|
|
double |
dimCaracteristic, |
|
|
double |
precision, |
|
|
double |
md3DSurf, |
|
|
double |
minDot3DSurf, |
|
|
double |
medianPlane, |
|
|
bool |
doRotate, |
|
|
int |
orientation, |
|
|
int |
printLevel |
|
) |
| |
References INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_connectS, INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_connectT, INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_connIndexS, INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_connIndexT, INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_coordsS, and INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::_coordsT.
◆ ~PlanarIntersector()
template<class MyMeshType , class MyMatrix >
◆ createBoundingBoxes()
template<class MyMeshType , class MyMatrix >
creates the bounding boxes for all the cells of mesh mesh
The method accepts mixed meshes (containing triangles and quadrangles). The vector returned is of dimension 6*nb_elems with bounding boxes stored as xmin1, xmax1, ymin1, ymax1, zmin1, zmax1, xmin2, xmax2, ymin2,... The returned pointer must be deleted by the calling code.
- Parameters
-
| mesh | structure pointing to the mesh |
| bbox | vector containing the bounding boxes |
◆ getElemBB()
template<class MyMeshType , class MyMatrix >
Computes the bounding box of a given element. iP in numPol mode.
◆ Projection()
template<class MyMeshType , class MyMatrix >
| int INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::Projection |
( |
double * |
Coords_A, |
|
|
double * |
Coords_B, |
|
|
ConnType |
nb_NodesA, |
|
|
ConnType |
nb_NodesB, |
|
|
double |
epsilon, |
|
|
double |
md3DSurf, |
|
|
double |
minDot3DSurf, |
|
|
double |
median_plane, |
|
|
bool |
do_rotate |
|
) |
| |
|
static |
◆ getIntersectFaces()
template<class MyMeshType , class MyMatrix >
◆ projectionThis()
template<class MyMeshType , class MyMatrix >
◆ getRealTargetCoordinates()
template<class MyMeshType , class MyMatrix >
- Parameters
-
| icellT | id in target mesh in format of MyMeshType. |
| coordsT | output val that stores coordinates of the target cell automatically resized to the right length. |
◆ getRealSourceCoordinates()
template<class MyMeshType , class MyMatrix >
- Parameters
-
| icellS | id in source mesh in format of MyMeshType. |
| coordsS | output val that stores coordinates of the source cell automatically resized to the right length. |
◆ getRealTargetCoordinatesPermute()
template<class MyMeshType , class MyMatrix >
- Parameters
-
| icellT | id in target mesh in format of MyMeshType. |
| offset | is a value in C format that indicates the number of circular permutation. |
| coordsT | output val that stores coordinates of the target cell automatically resized to the right length. |
◆ getRealSourceCoordinatesPermute()
template<class MyMeshType , class MyMatrix >
- Parameters
-
| icellS | id in source mesh in format of MyMeshType. |
| offset | is a value in C format that indicates the number of circular permutation. |
| coordsS | output val that stores coordinates of the source cell automatically resized to the right length. |
◆ getRealCoordinates()
template<class MyMeshType , class MyMatrix >
- Parameters
-
| icellT | id in target mesh in format of MyMeshType. |
| icellS | id in source mesh in format of MyMeshType. |
| nbNodesT | nb of nodes of the target cell. |
| nbNodesS | nb of nodes of the source cell. |
| coordsT | output val that stores coordinates of the target cell automatically resized to the right length. |
| coordsS | output val that stores coordinates of the source cell automatically resized to the right length. |
| orientation | is an output value too, only set if SPACEDIM==3. |
◆ getValueRegardingOption()
template<class MyMeshType , class MyMatrix >
Filtering out zero surfaces and badly oriented surfaces _orientation = -1,0,1,2 -1 : the intersection is taken into account if target and cells have different orientation 0 : the intersection is always taken into account 1 : the intersection is taken into account if target and cells have the same orientation 2 : the absolute value of intersection is always taken into account
◆ Rotate3DTriangle()
template<class MyMeshType , class MyMatrix >
| void INTERP_KERNEL::PlanarIntersector< MyMeshType, MyMatrix >::Rotate3DTriangle |
( |
double * |
PP1, |
|
|
double * |
PP2, |
|
|
double * |
PP3, |
|
|
TranslationRotationMatrix & |
rotation_matrix |
|
) |
| |
|
staticprotected |
◆ SPACEDIM
template<class MyMeshType , class MyMatrix >
◆ MESHDIM
template<class MyMeshType , class MyMatrix >
◆ numPol
template<class MyMeshType , class MyMatrix >
◆ _connectT
template<class MyMeshType , class MyMatrix >
◆ _connectS
template<class MyMeshType , class MyMatrix >
◆ _coordsT
template<class MyMeshType , class MyMatrix >
◆ _coordsS
template<class MyMeshType , class MyMatrix >
◆ _connIndexT
template<class MyMeshType , class MyMatrix >
◆ _connIndexS
template<class MyMeshType , class MyMatrix >
◆ _meshT
template<class MyMeshType , class MyMatrix >
◆ _meshS
template<class MyMeshType , class MyMatrix >
◆ _dim_caracteristic
template<class MyMeshType , class MyMatrix >
◆ _max_distance_3Dsurf_intersect
template<class MyMeshType , class MyMatrix >
◆ _min_dot_btw_3Dsurf_intersect
template<class MyMeshType , class MyMatrix >
◆ _precision
template<class MyMeshType , class MyMatrix >
◆ _median_plane
template<class MyMeshType , class MyMatrix >
◆ _do_rotate
template<class MyMeshType , class MyMatrix >
◆ _orientation
template<class MyMeshType , class MyMatrix >
◆ _print_level
template<class MyMeshType , class MyMatrix >