#include <MRCMisc/exports.h>
#include <stdbool.h>
Go to the source code of this file.
|
MRC_API MR_std_vector_MR_EdgePointPair * | MR_findCollidingEdgePairs (const MR_Polyline2 *a, const MR_Polyline2 *b, const MR_AffineXf2f *rigidB2A, const bool *firstIntersectionOnly) |
| finds all pairs of colliding edges from two 2d polylines
|
|
MRC_API MR_std_vector_MR_UndirectedEdgeUndirectedEdge * | MR_findCollidingEdges (const MR_Polyline2 *a, const MR_Polyline2 *b, const MR_AffineXf2f *rigidB2A, const bool *firstIntersectionOnly) |
| finds all pairs of colliding edges from two 2d polylines
|
|
MRC_API MR_std_pair_MR_UndirectedEdgeBitSet_MR_UndirectedEdgeBitSet * | MR_findCollidingEdgesBitsets (const MR_Polyline2 *a, const MR_Polyline2 *b, const MR_AffineXf2f *rigidB2A) |
| finds bitset per polyline with colliding edges
|
|
MRC_API MR_std_vector_MR_EdgePointPair * | MR_findSelfCollidingEdgePairs (const MR_Polyline2 *polyline) |
|
MRC_API MR_std_vector_MR_UndirectedEdgeUndirectedEdge * | MR_findSelfCollidingEdges (const MR_Polyline2 *polyline) |
|
MRC_API MR_UndirectedEdgeBitSet * | MR_findSelfCollidingEdgesBS (const MR_Polyline2 *polyline) |
|
MRC_API bool | MR_isInside_MR_Polyline2 (const MR_Polyline2 *a, const MR_Polyline2 *b, const MR_AffineXf2f *rigidB2A) |
| checks that arbitrary 2d polyline A is inside of closed 2d polyline B
|
|
◆ MR_AffineXf2f
typedef struct MR_AffineXf2f MR_AffineXf2f |
◆ MR_Polyline2
◆ MR_std_pair_MR_UndirectedEdgeBitSet_MR_UndirectedEdgeBitSet
◆ MR_std_vector_MR_EdgePointPair
◆ MR_std_vector_MR_UndirectedEdgeUndirectedEdge
◆ MR_UndirectedEdgeBitSet
◆ MR_findCollidingEdgePairs()
finds all pairs of colliding edges from two 2d polylines
- Parameters
-
rigidB2A | rigid transformation from B-polyline space to A polyline space, nullptr considered as identity transformation |
firstIntersectionOnly | if true then the function returns at most one pair of intersecting edges and returns faster Generated from function MR::findCollidingEdgePairs . Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter rigidB2A defaults to a null pointer in C++. Parameter firstIntersectionOnly has a default argument: false , pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_EdgePointPair_Destroy() to free it when you're done using it. |
◆ MR_findCollidingEdges()
finds all pairs of colliding edges from two 2d polylines
- Parameters
-
rigidB2A | rigid transformation from B-polyline space to A polyline space, nullptr considered as identity transformation |
firstIntersectionOnly | if true then the function returns at most one pair of intersecting edges and returns faster Generated from function MR::findCollidingEdges . Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter rigidB2A defaults to a null pointer in C++. Parameter firstIntersectionOnly has a default argument: false , pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_std_vector_MR_UndirectedEdgeUndirectedEdge_Destroy() to free it when you're done using it. |
◆ MR_findCollidingEdgesBitsets()
finds bitset per polyline with colliding edges
- Parameters
-
rigidB2A | rigid transformation from B-polyline space to A polyline space, nullptr considered as identity transformation Generated from function MR::findCollidingEdgesBitsets . Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter rigidB2A defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_MR_UndirectedEdgeBitSet_MR_UndirectedEdgeBitSet_Destroy() to free it when you're done using it. |
◆ MR_findSelfCollidingEdgePairs()
◆ MR_findSelfCollidingEdges()
◆ MR_findSelfCollidingEdgesBS()
◆ MR_isInside_MR_Polyline2()
checks that arbitrary 2d polyline A is inside of closed 2d polyline B
- Parameters
-
rigidB2A | rigid transformation from B-polyline space to A polyline space, nullptr considered as identity transformation Generated from function MR::isInside . Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter rigidB2A defaults to a null pointer in C++. |