26 const MFloat*
const cell_coords);
void readSegmentLinesASCII(MString fileName, Collector< element< 2 > > *elemCollector, MInt bndCndId, MInt segmentId, MInt *offset)
reads the lines in an ASCII file
virtual MBool edgeTriangleIntersection(MFloat *trianglePoint1, MFloat *trianglePoint2, MFloat *trianglePoint3, MFloat *edgePoint1, MFloat *edgePoint2)
Determine intersection between an edge and a triangle (in 2D between 2 edges)
MBool m_GFieldInitFromSTL
virtual MInt getLineIntersectionElementsOld1(MFloat *targetRegion, std::vector< MInt > &nodeList)
virtual MInt getIntersectionMBElements(MFloat *targetRegion, std::vector< MInt > &nodeList)
virtual void ReplaceMBElementVertex(MInt e, MInt v, MFloat *np)
void calculateBoundingBox()
Calculates the global bounding box of the geometry.
static constexpr const MInt nDim
MInt m_noLevelSetIntfBndIds
virtual void MoveAllMBElementVertex(MFloat *dx)
virtual void UpdateMBNormalVector(MInt)
virtual MInt getSphereIntersectionMBElements(MFloat *P, MFloat radius, std::vector< MInt > &nodeList)
virtual MInt getLineIntersectionMBElements(MFloat *targetRegion, std::vector< MInt > &nodeList)
virtual void UpdateMBBoundingBox()
virtual void readSegments()
virtual MInt getLineIntersectionElementsOld2(MFloat *targetRegion, MInt *spaceDirection, std::vector< MInt > &nodeList)
virtual MInt getLineIntersectionElements(MFloat *targetRegion, std::vector< MInt > &nodeList)
Returns the ids of all elements, cut by a orthogonal line (or rectangular region)
virtual void MoveMBElementVertex(MInt e, MInt v, MFloat *dx)
void countSegmentLinesASCII(const MString &fileName, MInt *noElements)
counts the number of lines in an ASCII file, should be the in the first line
MInt * m_levelSetIntfBndIds
virtual MInt getIntersectionElements(MFloat *targetRegion, std::vector< MInt > &nodeList)
Determines all elements that are inside or intersect the target region.
std::basic_string< char > MString