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