-
- typedef gp_XYZ AltitudePoint;
- typedef NCollection_Sequence<AltitudePoint> AltitudePoints;
+ struct AltitudePoint
+ {
+ AltitudePoint( double x=0, double y=0, double z=0 ) { X=x; Y=y; Z=z; }
+ double X;
+ double Y;
+ double Z;
+ };
+ typedef std::vector<AltitudePoint> AltitudePoints;
DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_AltitudePoints, ///< altitude points, array of reals
DataTag_FilePath, ///< bathymetry imported file path
DataTag_First = HYDROData_IAltitudeObject::DataTag_First + 100, ///< first tag, to reserve
DataTag_AltitudePoints, ///< altitude points, array of reals
DataTag_FilePath, ///< bathymetry imported file path
/**
* Returns uploaded bathymetry file path
*/
HYDRODATA_EXPORT TCollection_AsciiString GetFilePath() const;
/**
* Returns uploaded bathymetry file path
*/
HYDRODATA_EXPORT TCollection_AsciiString GetFilePath() const;
bool importFromXYZFile( QFile& theFile,
AltitudePoints& thePoints ) const;
static std::map<int, HYDROData_QuadtreeNode*> myQuadtrees;
bool importFromXYZFile( QFile& theFile,
AltitudePoints& thePoints ) const;
static std::map<int, HYDROData_QuadtreeNode*> myQuadtrees;
bool importFromASCFile( QFile& theFile,
AltitudePoints& thePoints ) const;
bool importFromASCFile( QFile& theFile,
AltitudePoints& thePoints ) const;