C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Information about two solids intersection. More...

#include <check_geometry.h>

+ Collaboration diagram for MbShellsIntersectionData:

Public Member Functions

 MbShellsIntersectionData ()
 Constructor.
 
 MbShellsIntersectionData (const MbCurveEdge &)
 Constructor by an edge.
 
template<class EdgesVector >
 MbShellsIntersectionData (const EdgesVector &, bool isSolidEdges)
 Constructor by edges.
 
template<class EdgesVector , class FaceIndicesVector >
 MbShellsIntersectionData (const EdgesVector &, const FaceIndicesVector &faceNumbers1, const FaceIndicesVector &faceNumbers2)
 Constructor by edges.
 
template<class EdgesVector >
 MbShellsIntersectionData (const EdgesVector &, const c3d::IndicesPairsVector &faceNumbersPairs)
 Constructor by edges.
 
 MbShellsIntersectionData (const MbSolid &)
 Constructor by a solid.
 
 MbShellsIntersectionData (const std::vector< MbCartPoint3D > &)
 Constructor by points.
 
 MbShellsIntersectionData (const c3d::ConstVerticesVector &, bool same)
 Constructor by vertices and by flag of use of these objects instead of their copies.
 
 MbShellsIntersectionData (const c3d::ConstVerticesSPtrVector &, bool same)
 Constructor by vertices and by flag of use of these objects instead of their copies.
 
 ~MbShellsIntersectionData ()
 Destructor.
 
bool IsSolid () const
 Intersection is a solid.
 
bool IsSurface () const
 Intersection by a tangent region of a surface.
 
bool IsCurve () const
 Intersection along a tangent line.
 
bool IsPoint () const
 Intersection is a point (not implemented yet).
 
const MbSolidGetSolid () const
 Set the flag of intersection along a tangent line. More...
 
MbSolidSetSolid ()
 Get a pointer for viewing/modification of the solid.
 
size_t GetCurvesCount () const
 The number of intersection curves.
 
template<class EdgesVector >
void GetCurves (EdgesVector &curves) const
 Get the intersection curve array.
 
const MbCurveEdgeGetCurve (size_t k) const
 Get a pointer to an intersection curve by the index.
 
template<class OutputIndicesVector >
void GetFaceNumbers (bool first, OutputIndicesVector &) const
 Get numbers concerning faces of the first/second solid.
 
template<class OutputIndicesPairsVector >
void GetFaceNumbersPairs (OutputIndicesPairsVector &) const
 Get numbers concerning faces of the first and second solids.
 
size_t GetPointsCount () const
 The number of touch points.
 
const MbPointFrameGetPointFrame () const
 Get a set of touch points.
 

Protected Attributes

c3d::EdgesSPtrVector edges
 Intersection edges (owns by reference counter).
 
c3d::IndicesVector faceIndices1
 The numbers concerning faces of the first solid.
 
c3d::IndicesVector faceIndices2
 The numbers concerning faces of the second solid.
 
c3d::SolidSPtr solid
 Intersection solid (owns by reference counter).
 
c3d::PointFrameSPtr pointFrame
 Group of touch points.
 
bool isTangentCurve
 Intersections are tangency lines.
 
bool isSolid
 Intersections form solids.
 

Detailed Description

Information about two solids intersection.

Information about intersection of two solids during diagnostics of their shells.

Member Function Documentation

◆ GetSolid()

const MbSolid* MbShellsIntersectionData::GetSolid ( ) const
inline

Set the flag of intersection along a tangent line.

Get a pointer for viewing the solid.


The documentation for this struct was generated from the following file: