{
INTERP_KERNEL::PolygonAlgorithms<2> intersector (_Epsilon, _Precision);;
/*
- ////////////////// TEST DESACTIVATED by A. GEAY because memory fault :
+ ////////////////// TEST DEACTIVATED by A. GEAY because memory fault :
// conditional jump INTERP_KERNEL::PolygonAlgorithms<2>::intersectConvexPolygons(double const*, double const*, int, int) (PolygonAlgorithms.txx:629)
std::deque< double > actual_result = intersector.intersectConvexPolygons(_square1,_square1,4,4);
std::deque< double > expected_result;
}
// Square and diamond intersecting with no degeneracy
// /\
- // / \
- // / \
- // __/______\__
- // | / \ |
- // |/ \|
+ // / \
+ // / \
+ // __/______\__
+ // | / \ |
+ // |/ \|
// / \
- // /| |\
- // \| |/
- // \ /
- // |\ /|
- // |_\________/_|
+ // /| |\
+ // \| |/
+ // \ /
+ // |\ /|
+ // |_\________/_|
// \ /
// \ /
// \ /
// Two diamonds intersecting at one vertex on edge and one double vertex
// /\ /\
// / \ / \
- // / ¤ \
+ // / � \
// / / \ \
// \ \ / /
// \ * /
(INTERP_KERNEL::checkEqualPolygons<std::vector<double>,2>(&actual_result, &expected_result, _Epsilon)));
} // square and diamond intersecting at four degenerated pointss
//
- // ²/²\
- // ² / ² \
- // ² / ² \
- // ² \ ² /
- // ² \ ² /
- // ²\²/
+ // �/�\
+ // � / � \
+ // � / � \
+ // � \ � /
+ // � \ � /
+ // �\�/
// \brief Status : pass
void SingleElementPlanarTests::diamondsCritical2()
// Two tangent hexagons with double vertices and a critical starting vertex on edge
// _________
- // / \²²²
- // ² \²
- // / \
- // / ² ² \
+ // / \���
+ // � \�
+ // / \
+ // / � � \
// \ /
- // \ ² ² /
+ // \ � � /
// \ /
- // \²_______²/
+ // \�_______�/
// \brief Status : pass
// Two tangent hexagons with double vertices and a critical starting vertex on edge
// _______
// / \
- // / \
+ // / \
// \ /
// \_______/
// / \
- // / \
+ // / \
// \ /
// \_______/
(INTERP_KERNEL::checkEqualPolygons<std::vector<double>,2>(&actual_result, &expected_result, _Epsilon)));
}
// Two diamonds sharing a vertex in an exclusion configuration
- // /\
- // / \
- // / \
- // / \
- // \ /
- // \ /
- // \ /
- // \/
- // /\
- // / \
- // / \
- // / \
- // \ /
- // \ /
- // \ /
- // \/
+ // /\
+ // / \
+ // / \
+ // / \
+ // \ /
+ // \ /
+ // \ /
+ // \/
+ // /\
+ // / \
+ // / \
+ // / \
+ // \ /
+ // \ /
+ // \ /
+ // \/
// \brief Status : pass
// ____
// /|\ /
// / | \/
- // / | /\
- // / |/ \
- // \ /
- // \ /
- // \ /
- // \ /
+ // / | /\
+ // / |/ \
+ // \ /
+ // \ /
+ // \ /
+ // \ /
// \brief Status : pass
void SingleElementPlanarTests:: triangleAndDiamondCritical()
// | |
// | |\ |
// | | \|
- // | | \
+ // | | \
// | | |\
// | | |/
// | | /
}
// Two triangles with a starting vertex on edge
- // /\ ²²²²
- // / ² ²
- // / ² ²
- // /__²___\
+ // /\ ����
+ // / � �
+ // / � �
+ // /__�___\
// \brief Status : pass
void SingleElementPlanarTests::trianglesCritical()
// /\ /\
// / \ / \
// / \ / \
- // /______\/______\
+ // /______\/______\
// \brief Status : pass
}
// Two triangles with double starting point in an outer tangency configuration
- // /\
- // / \
- // / \
- // /______\
+ // /\
+ // / \
+ // / \
+ // /______\
// \ /
// \ /
// \ /