Version: 9.16.0
SMDS_MeshNode Class Reference

#include <SMDS_MeshNode.hxx>

Inheritance diagram for SMDS_MeshNode:

Public Types

typedef SMDS_StdIterator< const SMDS_MeshNode *, SMDS_NodeIteratorPtriterator
 

Public Member Functions

void setXYZ (double x, double y, double z)
 
double X () const
 
double Y () const
 
double Z () const
 
void GetXYZ (double xyz[3]) const
 thread safe getting coords More...
 
SMDS_ElemIteratorPtr GetInverseElementIterator (SMDSAbs_ElementType type=SMDSAbs_All) const
 
int NbInverseElements (SMDSAbs_ElementType type=SMDSAbs_All) const
 Count inverse elements of given type. More...
 
SMDS_PositionPtr GetPosition () const
 
void SetPosition (const SMDS_PositionPtr &aPos, int shapeID=0)
 
virtual SMDSAbs_ElementType GetType () const
 
virtual VTKCellType GetVtkType () const
 
virtual SMDSAbs_EntityType GetEntityType () const
 
virtual SMDSAbs_GeometryType GetGeomType () const
 
virtual int NbNodes () const
 
virtual int NbEdges () const
 
virtual int NbFaces () const
 
virtual SMDS_ElemIteratorPtr nodesIterator () const
 
virtual SMDS_NodeIteratorPtr nodeIterator () const
 
virtual const SMDS_MeshNodeGetNode (const int ind) const
 Return node by its index. More...
 
virtual bool IsPoly () const
 
virtual bool IsQuadratic () const
 
virtual bool IsMediumNode (const SMDS_MeshNode *) const
 Check if a node is a medium node of a quadratic cell. More...
 
virtual int NbCornerNodes () const
 
virtual void Print (std::ostream &OS) const override
 Print self. More...
 
virtual SMDS_NodeIteratorPtr interlacedNodesIterator () const
 
virtual SMDS_NodeIteratorPtr nodesIteratorToUNV () const
 
iterator begin_nodes () const
 
iterator end_nodes () const
 
const SMDS_MeshNodeGetNodeWrap (const int ind) const
 Return node by its index. More...
 
virtual bool IsValidIndex (const int ind) const
 Return true if index of node is valid (0 <= ind < NbNodes()) More...
 
int WrappedIndex (const int ind) const
 Return a valid corner node index, fixing the given one if necessary. More...
 
virtual int GetNodeIndex (const SMDS_MeshNode *node) const
 Check if a node belongs to the element. More...
 
virtual smIdType GetID () const
 Return ID of an element. More...
 
virtual vtkIdType GetVtkID () const
 Return VTK ID of this element. More...
 
virtual int getshapeId () const
 
virtual int GetShapeID () const
 Return ID of a shape this element was generated on. More...
 
virtual void setIsMarked (bool is) const
 Mark this element. More...
 
virtual bool isMarked () const
 Check if this element is marked. More...
 
bool IsNull () const
 
SMDS_MeshGetMesh () const
 Return the mesh this element belongs to. More...
 

Protected Member Functions

void setVtkID (const vtkIdType vtkID)
 Store VTK ID. More...
 
virtual void setShapeID (const int shapeID) const
 Set ID of a shape this element was generated on. More...
 
SMDS_UnstructuredGridgetGrid () const
 Return a SMDS_UnstructuredGrid. More...
 

Protected Attributes

SMDS_ElementChunkmyHolder
 

Private Member Functions

void init (double x=0, double y=0, double z=0)
 
double * getCoord () const
 
void AddInverseElement (const SMDS_MeshElement *elem)
 
void RemoveInverseElement (const SMDS_MeshElement *elem)
 
void ClearInverseElements ()
 

Friends

class SMDS_Mesh
 

Member Typedef Documentation

◆ iterator

Member Function Documentation

◆ AddInverseElement()

◆ begin_nodes()

◆ ClearInverseElements()

void SMDS_MeshNode::ClearInverseElements ( )
private

◆ end_nodes()

◆ getCoord()

double * SMDS_MeshNode::getCoord ( ) const
private

References SMDS_MeshElement::getGrid(), and SMDS_MeshElement::GetVtkID().

Referenced by X(), Y(), and Z().

◆ GetEntityType()

virtual SMDSAbs_EntityType SMDS_MeshNode::GetEntityType ( ) const
virtual

Implements SMDS_MeshElement.

References SMDSEntity_Node.

◆ GetGeomType()

virtual SMDSAbs_GeometryType SMDS_MeshNode::GetGeomType ( ) const
virtual

Implements SMDS_MeshElement.

References SMDSGeom_NONE.

◆ getGrid()

◆ GetID()

smIdType SMDS_MeshElement::GetID ( ) const
virtualinherited

Return ID of an element.

Reimplemented in SMDS_CellOfNodes.

References SMDS_ElementChunk::GetID(), and SMDS_MeshElement::myHolder.

Referenced by SMESH_Gen_i::_GetInside(), SMESHDS_SubMesh::add(), SMESHDS_Mesh::Add0DElement(), SMESH_MeshEditor_i::Add0DElement(), SMESHDS_Mesh::Add0DElementWithID(), SMESHDS_Mesh::AddBall(), SMESH_MeshEditor_i::AddBall(), SMESHDS_Mesh::AddBallWithID(), SMESHDS_Mesh::AddEdge(), SMESH_MeshEditor_i::AddEdge(), SMESHDS_Mesh::AddEdgeWithID(), SMESHDS_Mesh::AddFace(), SMESH_MeshEditor_i::AddFace(), SMESHDS_Mesh::AddFaceWithID(), SMESH_MeshEditor_i::AddNode(), SMESHDS_Mesh::AddNode(), SMESHDS_Mesh::AddNodeWithID(), SMESH_MeshEditor_i::AddPolygonalFace(), SMESHDS_Mesh::AddPolygonalFace(), SMESH_MeshEditor_i::AddPolyhedralVolume(), SMESHDS_Mesh::AddPolyhedralVolume(), SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces(), SMESH_MeshEditor_i::AddQuadPolygonalFace(), SMESHDS_Mesh::AddQuadPolygonalFace(), SMESHDS_Mesh::AddVolume(), SMESH_MeshEditor_i::AddVolume(), SMESHDS_Mesh::AddVolumeWithID(), SMESH_MeshEditor_i::AffectedElemGroupsInRegion(), SMESH_VisualObjDef::buildElemPrs(), SMESHDS_Mesh::ChangeElementNodes(), SMESHDS_Mesh::ChangePolyhedronNodes(), SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine(), SMESH_MesherHelper::CheckNodeU(), VISCOUS_3D::_ConvexFace::CheckPrisms(), SMDS_NodeFactory::Compact(), StdMeshers_Prism_3D::compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_PolyhedronPerSolid_3D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_RadialPrism_3D::Compute(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), StdMeshers_Sweeper::ComputeNodesOnStraight(), SMESH_Gen_i::ConcatenateCommon(), SMESHDS_GroupBase::Contains(), SMESHDS_GroupOnFilter::Contains(), SMDS_Mesh::Contains(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertFromQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Gen_i::CopyMesh(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_VisualObjDef::createPoints(), SMESH_MeshAlgos::Intersector::Algo::Cut(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation(), SMESH_MeshEditor::DoubleNodesOnGroupBoundaries(), StdMeshers_PrismAsBlock::THorizontalEdgeAdaptor::dumpNodes(), SMESH::SelectionProxy::elementConnectivity(), enlargeBoundingBox(), SMESH_MeshEditor::ExtrusionSweep(), VISCOUS_3D::_ViscousBuilder::findCollisionEdges(), SMESH::Controls::ManifoldPart::findConnected(), StdMeshers_Sweeper::findDelaunayTriangles(), SMESH_Mesh_i::FindElementByNodes(), SMESH_MeshEditor::FindEqualElements(), SMESH_MeshEditor::FindFreeBorder(), SMESH_MeshEditor::FindMatchingNodes(), SMESH_MeshEditor::FindShape(), SMESH_MeshEditor_i::FindSharpEdges(), findTriangles(), SMDS_ElementFactory::Free(), SMESH::Controls::FreeEdges::GetBoreders(), VISCOUS_3D::getDistFromEdge(), SMESH_VisualObjDef::GetEdgeNodes(), SMESHGUI_PreVisualObj::GetEdgeNodes(), SMESHDS_GroupOnFilter::getElementIds(), MeshEditor_I::getElementsAround(), SMESH_subMesh_i::GetElementsByType(), SMESH::Controls::Filter::GetElementsId(), SMESH_Mesh_i::GetElemNode(), LinkID_Gen::GetLinkID(), SMESH::Filter_i::GetMeshInfo(), SMESH::Filter_i::GetNbElementsByType(), getNodeElemDistance(), SMESH_Mesh_i::GetNodeInverseElements(), SMESH::Controls::ElementsOnShape::getNodeIsOut(), getNodeNodeDistance(), SMESH_VisualObjDef::GetNodeObjId(), SMESHGUI_PreVisualObj::GetNodeObjId(), SMESHGUI_PreVisualObj::GetNodeVTKId(), VISCOUS_3D::_EdgesOnShape::GetNormal(), SMESH_MeshEditor_i::GetPreviewData(), SMDS_ElementFactory::GetShapeIterator(), SMESH_Mesh_i::GetSubMeshNodesId(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH::Controls::MultiConnection2D::GetValues(), SMESH::Controls::Length2D::GetValues(), SMDS_ElementChunk::GetVtkID(), SMESH_Hasher::HashCode(), SMESH_TLinkHasher::HashCode(), SMDS_VolumeTool::ID(), VISCOUS_3D::_ViscousBuilder::invalidateBadSmooth(), SMESH::Controls::FreeEdges::IsFreeEdge(), SMESH::Controls::ManifoldPart::isInPlane(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_ProxyMesh::IsTemporary(), VISCOUS_3D::_ViscousBuilder::makeGroupOfLE(), SMESH_Mesh_i::MakeGroupsOfBadInputElements(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), SMESH_MeshAlgos::Intersector::Algo::MakeNewFaces(), StdMeshers_Penta_3D::MakeNodes(), SMESH_MeshAlgos::MakeOffset(), StdMeshers_Penta_3D::MakeVolumeMesh(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshEditor_i::MoveClosestNodeToPoint(), SMESHDS_Mesh::MoveNode(), SMESH::Predicate_i::NbSatisfying(), SMESH::SelectionProxy::nodeConnectivity(), SMESH_MeshEditor::Offset(), SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange(), SMESHGUI_ExtrusionAlongPathDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SewingDlg::onTextChange(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_MeshPatternDlg::onTextChanged(), TIDTypeCompare::operator()(), TIDCompare::operator()(), Prism_3D::TNode::operator<(), operator<<(), SMESH::SelectionProxy::perFaceConnectivity(), DriverCGNS_Write::Perform(), DriverDAT_W_SMDS_Mesh::Perform(), DriverUNV_W_SMDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), StdMeshers_Sweeper::prepareTopBotDelaunay(), Print(), SMESH::Controls::ManifoldPart::process(), SMESH::Controls::ElementsOnSurface::process(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor_i::ProjectPoint(), SMESHDS_Mesh::RemoveElement(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), SMESHDS_Mesh::RemoveNode(), SMESH_MeshEditor::RemoveNodeWithReconnection(), SMESH_MeshEditor::removeQuadElem(), SMESH_ProxyMesh::removeTmpElement(), SMESH_MeshAlgos::Intersector::Algo::replaceIntNode(), SMESH_Mesh_i::ReplaceShape(), SMESH_Gen_i::Save(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH::Controls::ElementsOnShape::setNodeIsOut(), StdMeshers_MaxElementVolume::SetParametersByMesh(), SMDS_ElementChunk::SetVTKID(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), SMESH_TLink::SMESH_TLink(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESH_MeshEditor::SplitEdge(), SMESH_MeshEditor::SplitFace(), splitPolygon(), and SMESH_MeshEditor::sweepElement().

◆ GetInverseElementIterator()

SMDS_ElemIteratorPtr SMDS_MeshNode::GetInverseElementIterator ( SMDSAbs_ElementType  type = SMDSAbs_All) const

References SMDS_MeshElement::getGrid(), SMDS_UnstructuredGrid::GetLinks(), SMDS_MeshElement::GetMesh(), and SMDS_MeshElement::GetVtkID().

Referenced by SMESH_MeshEditor_i::Add0DElement(), VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), SMESH_Delaunay::addCloseNodes(), VISCOUS_3D::_Shrinker1D::AddEdge(), SMESH_MeshEditor::AffectedElemGroupsInRegion(), centroidalSmooth(), StdMeshers_Quadrangle_2D::check(), StdMeshers_Import_1D::Compute(), StdMeshers_Import_1D2D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshEditor::Create0DElementsOnAllNodes(), SMESH_Mesh_i::CreateDimGroup(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DoubleNodesInRegion(), SMESH_MeshEditor::ExtrusionSweep(), SMDS_Mesh::Find0DElement(), SMDS_Mesh::FindBall(), SMDS_Mesh::FindEdge(), SMDS_Mesh::FindFace(), SMESH_MeshAlgos::FindFaceInSet(), SMESH_MeshEditor::FindMatchingNodes(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), VISCOUS_3D::_ViscousBuilder::findNeiborsOnEdge(), findSegment(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), findTriangles(), MeshEditor_I::getElementsAround(), SMDS_Mesh::GetElementsByNodes(), getExclusiveNodes(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), SMESH::Controls::ManifoldPart::getFacesByLink(), getFinitElements(), SMESH_ProxyMesh::GetInverseElementIterator(), SMESH_MeshEditor::GetLinkedNodes(), SMESH_MesherHelper::GetMediumPos(), SMESH_Mesh_i::GetNodeInverseElements(), VISCOUS_3D::_Simplex::GetSimplices(), SMESH::Controls::MultiConnection2D::GetValue(), SMESH_MesherHelper::IsCornerOfStructure(), SMESH::Controls::FreeEdges::IsFreeEdge(), SMDS_VolumeTool::IsFreeFace(), SMDS_VolumeTool::IsFreeFaceAdv(), SMDS_VolumeTool::IsFreeFaceCheckAllNodes(), SMESH_MeshEditor::IsMedium(), Prism_3D::TNode::IsNeighbor(), SMESH_MeshAlgos::IsOn2DBoundary(), SMESH::Controls::BareBorderFace::IsSatisfy(), SMESH::Controls::FreeFaces::IsSatisfy(), SMESH::Controls::ConnectedElements::IsSatisfy(), SMESH_MeshEditor::ExtrusParam::makeNodesByNormal2D(), SMESH_MeshAlgos::MakeOffset(), SMESH_Pattern::makePolyElements(), SMESH_MeshAlgos::MakeSlot(), SMESH_MeshEditor::makeWalls(), StdMeshers_QuadToTriaAdaptor::MergeAdjacent(), SMESH_MeshEditor::MergeNodes(), StdMeshers_QuadToTriaAdaptor::MergePiramids(), MyIterator< VALUE >::next(), SMESH::SelectionProxy::nodeConnectivity(), VISCOUS_3D::_ViscousBuilder::prepareEdgeToShrink(), SMESHDS_Mesh::RemoveNode(), SMESH_MeshEditor::RemoveNodeWithReconnection(), SMESH_MeshEditor_i::RemoveNodeWithReconnection(), SMESH_MeshEditor::RotationSweep(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH::Controls::CoplanarFaces::SetMesh(), StdMeshers_SegmentLengthAroundVertex::SetParametersByMesh(), SMESH_MeshEditor::SewFreeBorder(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::Smooth(), VISCOUS_3D::_Shrinker1D::SwapSrcTgtNodes(), SMESH_MeshEditor::Transform(), and SMESH_MeshEditor::UpdateVolumes().

◆ GetMesh()

◆ GetNode()

◆ GetNodeIndex()

int SMDS_MeshElement::GetNodeIndex ( const SMDS_MeshNode node) const
virtualinherited

Check if a node belongs to the element.

Parameters
node- the node to check
Return values
int- node index within the element, -1 if not found

Reimplemented in SMDS_FaceOfNodes, SMDS_LinearEdge, SMDS_MeshCell, SMDS_MeshVolume, and SMDS_VolumeOfNodes.

References SMDS_MeshElement::nodesIterator().

Referenced by VISCOUS_3D::_ViscousBuilder::addBoundaryElements(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), SMESH_MeshAlgos::Intersector::Algo::Cut(), SMESH_MeshAlgos::Intersector::CutByPlanes(), SMDS_UnstructuredGrid::extrudeVolumeFromFace(), SMDS_Mesh::FindEdge(), SMDS_Mesh::FindElement(), findExistingTriangulation(), SMESH_MeshAlgos::FindFaceInSet(), VISCOUS_3D::_LayerEdge::FindIntersection(), SMESH_MeshEditor::FindMatchingNodes(), SMESH_ElementSearcherImpl::findOuterBoundary(), findSegment(), SMESH_MeshAlgos::GetCommonNodes(), VISCOUS_3D::getDistFromEdge(), SMDS_Mesh::GetElementsByNodes(), VISCOUS_3D::_Simplex::GetSimplices(), SMESH::Controls::FreeEdges::IsFreeEdge(), SMDS_VolumeTool::IsFreeFace(), SMDS_MeshElement::IsMediumNode(), SMESH_MeshAlgos::IsOn2DBoundary(), SMESH_MeshAlgos::IsRightOrder(), SMESH::Controls::BareBorderFace::IsSatisfy(), StdMeshers_QuadToTriaAdaptor::LimitHeight(), _QuadFaceGrid::LoadGrid(), SMESH_MeshEditor::MakeBoundaryMesh(), SMESH_MeshAlgos::Intersector::Algo::MakeNewFaces(), SMESH_MeshAlgos::MakeOffset(), SMESH_MeshEditor::makeWalls(), SMESH_MeshEditor::MergeNodes(), SMESH_MeshAlgos::NbCommonNodes(), StdMeshers_QuadToTriaAdaptor::Preparation(), SMESH_MeshEditor::Reorient2DBy3D(), SMESH::Controls::CoplanarFaces::SetMesh(), SMESH_MeshEditor::SewSideElements(), StdMeshers_Quadrangle_2D::smooth(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), and VISCOUS_3D::_Shrinker1D::SwapSrcTgtNodes().

◆ GetNodeWrap()

const SMDS_MeshNode * SMDS_MeshElement::GetNodeWrap ( const int  ind) const
inherited

Return node by its index.

Parameters
ind- node index
Return values
constSMDS_MeshNode* - the node

Index is wrapped if it is out of a valid range of corner nodes

Referenced by SMESH_MeshAlgos::Intersector::Algo::Cut(), SMESH_MeshEditor::GetLinkedNodes(), and SMESH_MeshEditor::makeWalls().

◆ GetPosition()

SMDS_PositionPtr SMDS_MeshNode::GetPosition ( ) const

References SMDS_ElementChunk::GetPosition(), and SMDS_MeshElement::myHolder.

Referenced by StdMeshers_RenumberHelper::AddReplacingNode(), SMESH_MesherHelper::AddTLinks(), StdMeshers_Prism_3D::assocOrProjBottom2Top(), StdMeshers_Prism_3D::compute(), StdMeshers_Import_1D::Compute(), StdMeshers_Projection_2D::Compute(), SMESH_Gen_i::CopyMeshWithGeom(), SMESH_MeshEditor::copyPosition(), VISCOUS_3D::_ViscousBuilder::findCollisionEdges(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_2D_Algo::FixInternalNodes(), VISCOUS_3D::getDistFromEdge(), VISCOUS_3D::getFaceDir(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), SMESH_MesherHelper::GetMediumNode(), SMESH_MesherHelper::GetMediumPos(), SMESH_Algo::GetMeshError(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetNodeUV(), Prism_3D::TNode::GetPositionType(), SMESH_ProxyMesh::GetProxyNode(), SMESH_Algo::GetSortedNodesOnEdge(), StdMeshers_FaceSide::GetUVPtStruct(), SMESH::Controls::Deflection2D::GetValue(), VISCOUS_3D::_LayerEdge::InvalidateStep(), SMESH_MesherHelper::IsCornerOfStructure(), SMESH_MesherHelper::IsReversedSubMesh(), VISCOUS_3D::_ViscousBuilder::limitStepSize(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), VISCOUS_3D::_ViscousBuilder::makeLayer(), StdMeshers_Penta_3D::MakeNodes(), SMESH_MeshEditor::MergeNodes(), VISCOUS_3D::PeriodicFaces::MoveNodes(), StdMeshers_ProjectionUtils::Morph::Perform(), VISCOUS_3D::_ViscousBuilder::prepareEdgeToShrink(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_PreMeshInfo::readSubMeshes(), VISCOUS_3D::_ViscousBuilder::refine(), SMESH_MeshEditor::Remove(), SMESH_Mesh_i::ReplaceShape(), VISCOUS_3D::_ViscousBuilder::restoreNoShrink(), SMESH_Gen_i::Save(), VISCOUS_3D::_LayerEdge::SetNewLength2d(), VISCOUS_2D::_ViscousBuilder2D::shrink(), VISCOUS_3D::_ViscousBuilder::shrink(), VISCOUS_3D::_SmoothNode::Smooth(), SMESH_MeshEditor::Smooth(), VISCOUS_3D::_Smoother1D::smoothAnalyticEdge(), SMESH_MeshEditor::SplitEdge(), StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor(), VISCOUS_3D::_LayerEdge::UpdatePositionOnSWOL(), and StdMeshers_FaceSide::VertexNode().

◆ getshapeId()

virtual int SMDS_MeshElement::getshapeId ( ) const
virtualinherited

Referenced by SMESH_Delaunay::addCloseNodes(), SMESHDS_SubMesh::AddNode(), areNodesBound(), StdMeshers_Quadrangle_2D::check(), SMESH_MesherHelper::CheckNodeU(), SMESH_MesherHelper::CheckNodeUV(), StdMeshers_Import_1D2D::Compute(), VISCOUS_3D::_ViscousBuilder::computeGeomSize(), SMESHDS_SubMesh::Contains(), SMESH_MeshEditor::convertElemToQuadratic(), SMESH_MeshEditor::ConvertToQuadratic(), SMESH_MeshEditor::copyPosition(), SMESH_Pattern::createElements(), SMESH_MeshEditor::CreateHoleSkin(), SMESH_MeshEditor::DeleteDiag(), SMESH_Mesh_i::exportMEDFields(), VISCOUS_3D::_ViscousBuilder::findEdgesToUpdateNormalNearConvexFace(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_MeshEditor::FindShape(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_MesherHelper::GetCentralNode(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), SMESH_MesherHelper::GetMediumNode(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), SMESH_MesherHelper::GetMediumPos(), StdMeshers_PrismAsBlock::GetNodeColumn(), SMESH_MesherHelper::GetNodeU(), SMESH_MesherHelper::GetNodeUV(), VISCOUS_3D::_EdgesOnShape::GetNormal(), StdMeshers_FaceSide::GetOrderedNodes(), SMESH_ProxyMesh::GetProxyNode(), SMESH_Mesh_i::GetShapeID(), VISCOUS_3D::_Simplex::GetSimplices(), SMESH_MesherHelper::GetSubShapeByNode(), StdMeshers_FaceSide::GetUVPtStruct(), SMESH::Controls::Deflection2D::GetValue(), StdMeshers_PrismAsBlock::HasNodeColumn(), StdMeshers_PrismAsBlock::Init(), SMESH_MeshEditor::InsertNodesIntoLink(), SMESH_MeshEditor::InverseDiag(), SMESH_MesherHelper::IsCornerOfStructure(), SMESH::Controls::BelongToGeom::IsSatisfy(), SMESH::Controls::LyingOnGeom::IsSatisfy(), SMESH_Pattern::Load(), VISCOUS_3D::_ViscousBuilder::makeLayer(), SMESH_MeshEditor::MergeNodes(), StdMeshers_QuadToTriaAdaptor::MergePiramids(), DriverGMF_Write::Perform(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_MeshEditor::Remove(), SMESHDS_Mesh::RemoveElement(), SMESHDS_SubMesh::RemoveElement(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), SMESHDS_Mesh::RemoveNode(), SMESHDS_SubMesh::RemoveNode(), SMESH_MeshEditor::removeQuadElem(), VISCOUS_3D::_ViscousBuilder::setEdgeData(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), StdMeshers_Quadrangle_2D::smooth(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESH_MeshEditor::SplitBiQuadraticIntoLinear(), StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor(), SMESH_MeshEditor::TriToQuad(), SMESHDS_Mesh::UnSetElementOnShape(), SMESHDS_Mesh::UnSetNodeOnShape(), SMESH_MeshEditor::UpdateVolumes(), StdMeshers_PrismAsBlock::TSideFace::Value(), and SMESH_Algo::VertexNode().

◆ GetShapeID()

◆ GetType()

virtual SMDSAbs_ElementType SMDS_MeshNode::GetType ( ) const
virtual

Implements SMDS_MeshElement.

References SMDSAbs_Node.

◆ GetVtkID()

◆ GetVtkType()

virtual VTKCellType SMDS_MeshNode::GetVtkType ( ) const
virtual

Implements SMDS_MeshElement.

◆ GetXYZ()

◆ init()

◆ interlacedNodesIterator()

◆ isMarked()

◆ IsMediumNode()

virtual bool SMDS_MeshNode::IsMediumNode ( const SMDS_MeshNode node) const
virtual

Check if a node is a medium node of a quadratic cell.

Reimplemented from SMDS_MeshElement.

◆ IsNull()

◆ IsPoly()

virtual bool SMDS_MeshNode::IsPoly ( ) const
virtual

Implements SMDS_MeshElement.

◆ IsQuadratic()

virtual bool SMDS_MeshNode::IsQuadratic ( ) const
virtual

Implements SMDS_MeshElement.

◆ IsValidIndex()

bool SMDS_MeshElement::IsValidIndex ( const int  ind) const
virtualinherited

Return true if index of node is valid (0 <= ind < NbNodes())

Parameters
ind- node index
Return values
bool- index check result

References SMDS_MeshElement::NbNodes().

◆ NbCornerNodes()

virtual int SMDS_MeshNode::NbCornerNodes ( ) const
virtual

◆ NbEdges()

virtual int SMDS_MeshNode::NbEdges ( ) const
virtual

Implements SMDS_MeshElement.

◆ NbFaces()

virtual int SMDS_MeshNode::NbFaces ( ) const
virtual

Implements SMDS_MeshElement.

◆ NbInverseElements()

◆ NbNodes()

virtual int SMDS_MeshNode::NbNodes ( ) const
virtual

Implements SMDS_MeshElement.

◆ nodeIterator()

SMDS_NodeIteratorPtr SMDS_MeshNode::nodeIterator ( ) const
virtual

Implements SMDS_MeshElement.

◆ nodesIterator()

SMDS_ElemIteratorPtr SMDS_MeshNode::nodesIterator ( ) const
virtual

◆ nodesIteratorToUNV()

virtual SMDS_NodeIteratorPtr SMDS_MeshElement::nodesIteratorToUNV ( ) const
virtualinherited

Reimplemented in SMDS_MeshCell.

◆ Print()

void SMDS_MeshNode::Print ( std::ostream &  OS) const
overridevirtual

Print self.

Reimplemented from SMDS_MeshElement.

References SMDS_MeshElement::GetID(), X(), Y(), and Z().

◆ RemoveInverseElement()

void SMDS_MeshNode::RemoveInverseElement ( const SMDS_MeshElement elem)
private

◆ setIsMarked()

◆ SetPosition()

void SMDS_MeshNode::SetPosition ( const SMDS_PositionPtr aPos,
int  shapeID = 0 
)

◆ setShapeID()

void SMDS_MeshElement::setShapeID ( const int  shapeID) const
protectedvirtualinherited

◆ setVtkID()

void SMDS_MeshElement::setVtkID ( const vtkIdType  vtkID)
protectedinherited

◆ setXYZ()

◆ WrappedIndex()

int SMDS_MeshElement::WrappedIndex ( const int  ind) const
inherited

Return a valid corner node index, fixing the given one if necessary.

Parameters
ind- node index
Return values
int- valid node index

References SMDS_MeshElement::NbCornerNodes().

Referenced by SMDS_PolygonalFaceOfNodes::GetNode().

◆ X()

double SMDS_MeshNode::X ( ) const

References getCoord().

Referenced by averageByElement(), averageBySurface(), SMESH_Mesh_i::BaryCenter(), StdMeshers_Import_1D2D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_VisualObjDef::createPoints(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::doubleNodes(), _QuadFaceGrid::DumpGrid(), SMESH::SelectionProxy::elementGravityCenter(), enlargeBoundingBox(), SMESH_MeshAlgos::FaceNormal(), SMESHGUI_MergeDlg::FindGravityCenter(), StdMeshers_Penta_3D::FindNodeOnShape(), SMESH_2D_Algo::FixInternalNodes(), SMESH_MesherHelper::FixQuadraticElements(), SMESH_Gen_i::GetBadInputElements(), SMESH_MesherHelper::GetCentralNode(), Prism_3D::TNode::GetCoords(), SMESH_MesherHelper::GetMediumNode(), SMESH_MesherHelper::getMediumNodeOnComposedWire(), getNodeNodeDistance(), SMESH_Mesh_i::GetNodeXYZ(), SMESH_MeshEditor_i::GetPreviewData(), StdMeshers_Import_1D::importMesh(), VISCOUS_3D::_Simplex::IsForward(), SMESH::Controls::ElementsOnSurface::isOnSurface(), SMESH_Pattern::isReversed(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::MakeNodes(), SMESH_MeshAlgos::MakeOffset(), SMESH_NodeSearcherImpl::MoveNode(), VISCOUS_3D::PeriodicFaces::MoveNodes(), SMESH::SelectionProxy::nodeCoordinates(), DriverDAT_W_SMDS_Mesh::Perform(), DriverUNV_W_SMDS_Mesh::Perform(), StdMeshers_ProjectionUtils::Morph::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_Gen_i::Precompute(), StdMeshers_QuadToTriaAdaptor::Preparation(), Print(), project(), StdMeshers_Prism_3D::projectBottomToTop(), VISCOUS_3D::_ViscousBuilder::refine(), VISCOUS_3D::_ViscousBuilder::restoreNoShrink(), SMESH_MeshEditor::RotationSweep(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMDS_VolumeTool::Set(), StdMeshers_Penta_3D::SetHorizEdgeXYZ(), SMESHUtils::SMESH_RegularGrid::SetNode(), SMESHGUI_IdPreview::SetPointsData(), SMESH_MeshEditor::SewFreeBorder(), SMESH_MeshEditor::SewSideElements(), VISCOUS_2D::_ViscousBuilder2D::shrink(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::Smooth(), SMESH_MeshEditor::SplitEdge(), SMESH_OctreeNode::UpdateByMoveNode(), and DriverSTL_W_SMDS_Mesh::writeBinary().

◆ Y()

double SMDS_MeshNode::Y ( ) const

References getCoord().

Referenced by averageByElement(), averageBySurface(), SMESH_Mesh_i::BaryCenter(), StdMeshers_Quadrangle_2D::computeQuadDominant(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_VisualObjDef::createPoints(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::doubleNodes(), _QuadFaceGrid::DumpGrid(), SMESH::SelectionProxy::elementGravityCenter(), enlargeBoundingBox(), SMESH_MeshAlgos::FaceNormal(), SMESHGUI_MergeDlg::FindGravityCenter(), StdMeshers_Penta_3D::FindNodeOnShape(), SMESH_Gen_i::GetBadInputElements(), Prism_3D::TNode::GetCoords(), SMESH_MesherHelper::GetMediumNode(), getNodeNodeDistance(), SMESH_Mesh_i::GetNodeXYZ(), SMESH_MeshEditor_i::GetPreviewData(), StdMeshers_Import_1D::importMesh(), VISCOUS_3D::_Simplex::IsForward(), SMESH::Controls::ElementsOnSurface::isOnSurface(), SMESH_Pattern::isReversed(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::MakeNodes(), SMESH::SelectionProxy::nodeCoordinates(), DriverDAT_W_SMDS_Mesh::Perform(), DriverUNV_W_SMDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_Gen_i::Precompute(), StdMeshers_QuadToTriaAdaptor::Preparation(), Print(), project(), SMESH_MeshEditor::RotationSweep(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMDS_VolumeTool::Set(), StdMeshers_Penta_3D::SetHorizEdgeXYZ(), SMESHUtils::SMESH_RegularGrid::SetNode(), SMESHGUI_IdPreview::SetPointsData(), SMESH_MeshEditor::SewFreeBorder(), SMESH_MeshEditor::SewSideElements(), SMESH_MeshEditor::Smooth(), SMESH_OctreeNode::UpdateByMoveNode(), and DriverSTL_W_SMDS_Mesh::writeBinary().

◆ Z()

double SMDS_MeshNode::Z ( ) const

References getCoord().

Referenced by averageByElement(), averageBySurface(), SMESH_Mesh_i::BaryCenter(), StdMeshers_Quadrangle_2D::computeQuadDominant(), MeshEditor_I::TPreviewMesh::Copy(), SMESH_Gen_i::CopyMesh(), SMESH_MeshEditor::CreateFlatElementsOnFacesGroups(), SMESH_VisualObjDef::createPoints(), SMESHGUI_CuttingOfQuadsDlg::displayPreview(), SMESH_MeshEditor::DoubleNodes(), SMESH_MeshEditor::doubleNodes(), _QuadFaceGrid::DumpGrid(), SMESH::SelectionProxy::elementGravityCenter(), enlargeBoundingBox(), SMESH_MeshAlgos::FaceNormal(), SMESHGUI_MergeDlg::FindGravityCenter(), StdMeshers_Penta_3D::FindNodeOnShape(), SMESH_Gen_i::GetBadInputElements(), Prism_3D::TNode::GetCoords(), SMESH_MesherHelper::GetMediumNode(), getNodeNodeDistance(), SMESH_Mesh_i::GetNodeXYZ(), SMESH_MeshEditor_i::GetPreviewData(), StdMeshers_Import_1D::importMesh(), VISCOUS_3D::_Simplex::IsForward(), SMESH::Controls::ElementsOnSurface::isOnSurface(), SMESH_Pattern::isReversed(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::MakeNodes(), SMESH::SelectionProxy::nodeCoordinates(), DriverDAT_W_SMDS_Mesh::Perform(), DriverUNV_W_SMDS_Mesh::Perform(), DriverMED_W_SMESHDS_Mesh::PerformInternal(), SMESH_Gen_i::Precompute(), StdMeshers_QuadToTriaAdaptor::Preparation(), Print(), project(), SMESH_MeshEditor::RotationSweep(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMDS_VolumeTool::Set(), StdMeshers_Penta_3D::SetHorizEdgeXYZ(), SMESHUtils::SMESH_RegularGrid::SetNode(), SMESHGUI_IdPreview::SetPointsData(), SMESH_MeshEditor::SewFreeBorder(), SMESH_MeshEditor::SewSideElements(), SMESH_MeshEditor::Smooth(), SMESH_OctreeNode::UpdateByMoveNode(), and DriverSTL_W_SMDS_Mesh::writeBinary().

Friends And Related Function Documentation

◆ SMDS_Mesh

friend class SMDS_Mesh
friend

Field Documentation

◆ myHolder