mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-21 13:05:38 +05:00
0021336: EDF 1717 SMESH: New algorithm "body fitting" cartesian unstructured
+ void GetXYZ(double xyx[3]) const; // thread safe getting coords
This commit is contained in:
parent
7fbdd4a756
commit
5c5ce5f038
@ -289,6 +289,15 @@ double SMDS_MeshNode::Z() const
|
||||
return coord[2];
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
/*!
|
||||
* \brief thread safe getting coords
|
||||
*/
|
||||
void SMDS_MeshNode::GetXYZ(double xyz[3]) const
|
||||
{
|
||||
return SMDS_Mesh::_meshList[myMeshId]->getGrid()->GetPoint(myVtkID,xyz);
|
||||
}
|
||||
|
||||
//* resize the vtkPoints structure every SMDS_Mesh::chunkSize points
|
||||
void SMDS_MeshNode::setXYZ(double x, double y, double z)
|
||||
{
|
||||
|
@ -42,16 +42,17 @@ public:
|
||||
friend class SMDS_VtkFace;
|
||||
|
||||
void Print(std::ostream & OS) const;
|
||||
double X() const;
|
||||
double X() const; // ! NOT thread safe methods !
|
||||
double Y() const;
|
||||
double Z() const;
|
||||
SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
|
||||
int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
|
||||
void GetXYZ(double xyx[3]) const; // thread safe getting coords
|
||||
SMDS_ElemIteratorPtr GetInverseElementIterator(SMDSAbs_ElementType type=SMDSAbs_All) const;
|
||||
int NbInverseElements(SMDSAbs_ElementType type=SMDSAbs_All) const;
|
||||
const SMDS_PositionPtr& GetPosition() const;
|
||||
SMDSAbs_ElementType GetType() const;
|
||||
virtual vtkIdType GetVtkType() const;
|
||||
SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_Node;}
|
||||
int NbNodes() const;
|
||||
SMDSAbs_ElementType GetType() const;
|
||||
virtual vtkIdType GetVtkType() const;
|
||||
SMDSAbs_EntityType GetEntityType() const {return SMDSEntity_Node;}
|
||||
int NbNodes() const;
|
||||
|
||||
friend bool operator<(const SMDS_MeshNode& e1, const SMDS_MeshNode& e2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user