Skip to content
Snippets Groups Projects

GeoPcon and GeoPgon: extended the interface to allow const access to memory buffers of the member vectors

Merged Vakhtang Tsulaia requested to merge main-solids-data into main
All threads resolved!
2 files
+ 30
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -70,16 +70,31 @@ class GeoPcon : public GeoShape {
@@ -70,16 +70,31 @@ class GeoPcon : public GeoShape {
return m_zPlane[i];
return m_zPlane[i];
}
}
 
// Get a pointer to the memory buffer with Z Positions
 
const double* getZPlaneBuff() const {
 
return m_zPlane.data();
 
}
 
// Get the RMin of the specified plane.
// Get the RMin of the specified plane.
double getRMinPlane(unsigned int i) const {
double getRMinPlane(unsigned int i) const {
return m_rMinPlane[i];
return m_rMinPlane[i];
}
}
 
// Get a pointer to the memory buffer with RMin-s
 
const double* getRMinBuff() const {
 
return m_rMinPlane.data();
 
}
 
// Get the Z Position of the specified plane.
// Get the Z Position of the specified plane.
double getRMaxPlane(unsigned int i) const {
double getRMaxPlane(unsigned int i) const {
return m_rMaxPlane[i];
return m_rMaxPlane[i];
}
}
 
// Get a pointer to the memory buffer with RMax-s
 
const double* getRMaxBuff() const {
 
return m_rMaxPlane.data();
 
}
 
// Executes a GeoShapeAction
// Executes a GeoShapeAction
virtual void exec (GeoShapeAction *action) const;
virtual void exec (GeoShapeAction *action) const;
Loading