25 #ifndef _ODDB_GEODATA_INCLUDED_
26 #define _ODDB_GEODATA_INCLUDED_
75 kScaleEstMethodUnity = 1,
78 kScaleEstMethodPrismoidal
OdSmartPtr< OdDbGeoData > OdDbGeoDataPtr
TOOLKIT_EXPORT OdResult oddbGetGeoDataObjId(OdDbDatabase *pDb, OdDbObjectId &objId)
void setReferencePoint(const OdGePoint3d &point)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setObservationFrom(const OdString &from)
void setBlockTableRecordId(const OdDbObjectId &blockId)
OdGeVector2d northDirectionVector() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
double seaLevelElevation() const
double horizontalUnitScale() const
void getMeshPointMaps(OdGePoint2dArray &srcPts, OdGePoint2dArray &dstPts) const
void setScaleFactor(double value)
void setObservationCoverage(const OdString &coverage)
double northDirection() const
OdResult transformFromLonLatAlt(const OdGePoint3d &geoPt, OdGePoint3d &dwgPt) const
void setNorthDirectionVector(const OdGeVector2d &north)
void addMeshFace(int faceIndex, int p0, int p1, int p2)
@ kScaleEstMethodReferencePoint
@ kScaleEstMethodUserDefined
OdString geoRSSTag() const
OdGePoint3d designPoint() const
OdResult transformToLonLatAlt(double x, double y, double z, double &lon, double &lat, double &alt) const
int numMeshPoints() const
void setDesignPoint(const OdGePoint3d &point)
void setMeshPointMaps(const OdGePoint2dArray &srcPts, const OdGePoint2dArray &dstPts)
OdGeVector3d upDirection() const
OdResult setCoordinateSystem(const OdString &coordSystem)
OdString observationFrom() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString observationCoverage() const
void getMeshPointMap(int index, OdGePoint2d &srcPt, OdGePoint2d &dstPt) const
void setDoSeaLevelCorrection(bool seaLevelCorrectionOn)
OdString observationTo() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
double coordinateProjectionRadius() const
double verticalUnitScale() const
void addMeshPointMap(int index, const OdGePoint2d &srcPt, const OdGePoint2d &dstPt)
OdDb::UnitsValue verticalUnits() const
OdString coordinateSystem() const
void resetMeshPointMaps()
void setCoordinateType(TypeOfCoordinates designCoordinateType)
void setVerticalUnitScale(double vertUnitScale)
void setUpDirection(const OdGeVector3d &vec)
void setSeaLevelElevation(double value)
double scaleFactor() const
OdDbObjectId blockTableRecordId() const
OdResult postToDb(OdDbObjectId &objId)
OdDb::UnitsValue horizontalUnits() const
void setObservationTo(const OdString &to)
OdGePoint3d referencePoint() const
OdResult transformFromLonLatAlt(double lon, double lat, double alt, double &x, double &y, double &z) const
void setHorizontalUnits(OdDb::UnitsValue horizUnits)
void setScaleEstimationMethod(ScaleEstimationMethod value)
ScaleEstimationMethod scaleEstimationMethod() const
void setGeoRSSTag(const OdString &rssTag)
void getMeshFace(int faceIndex, int &p0, int &p1, int &p2) const
OdResult transformToLonLatAlt(const OdGePoint3d &dwgPt, OdGePoint3d &geoPt) const
ODDB_DECLARE_MEMBERS(OdDbGeoData)
bool doSeaLevelCorrection() const
TypeOfCoordinates coordinateType() const
void setHorizontalUnitScale(double horzUnitScale)
void setVerticalUnits(OdDb::UnitsValue vertUnits)
void setCoordinateProjectionRadius(double value)
GLfloat GLfloat GLfloat z
GLsizei const GLfloat * value