/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #include "DgGeoDataProperties.h" #include "DgGeoData.h" //------------------------------------------------------------------------------------------------------- // OdDgGeoDataCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: ProjectionType //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemProjectionTypeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getProjectionType(); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: Name //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemNameProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getName(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemNameProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdString* pValue = rxvalue_cast(&value); if (pValue) { pObj->setName(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: GroupName //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemGroupNameProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getGroupName(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemGroupNameProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdString* pValue = rxvalue_cast(&value); if (pValue) { pObj->setGroupName(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Description //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemDescriptionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getDescription(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemDescriptionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdString* pValue = rxvalue_cast(&value); if (pValue) { pObj->setDescription(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Source //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemSourceProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSource(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemSourceProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdString* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSource(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Units //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemUnitsProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getUnits(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemUnitsProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystem::OdDgGeoDataCoordSystemUnitType* pValue = rxvalue_cast(&value); if (pValue) { pObj->setUnits(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: GeodeticExtents //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemGeodeticExtentsProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getGeodeticExtents(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemGeodeticExtentsProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdGeExtents2d* pValue = rxvalue_cast(&value); if (pValue) { pObj->setGeodeticExtents(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Parameters //------------------------------------------------------------------------------------------------------- ODDG_DEFINE_RX_VALUE_ARRAY_ITERATOR(OdDgGeoDataCoordinateSystemParam); OdRxValueIteratorPtr OdDgGeoDataCoordinateSystemParametersProperty::subNewValueIterator(const OdRxObject* pO) const { OdRxValueIteratorPtr res; res = OdRxObjectImpl::createObject(); OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (!pObj.isNull()) { OdArray arrValues; OdDgGeoDataCoordinateSystemParamArray arrValuesObj = pObj->getParameters(); for( OdUInt32 i = 0; i < arrValuesObj.getParamCount(); i++ ) arrValues.push_back(arrValuesObj.getParam(i)); ((OdRxOdDgGeoDataCoordinateSystemParamValueIterator*)res.get())->init(arrValues, 0); } return res; } //----------------------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataCoordinateSystemParametersProperty::subTryGetCount(const OdRxObject* pO, int& count) const { OdDgGeoDataCoordinateSystemPtr pObj = OdDgGeoDataCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; OdDgGeoDataCoordinateSystemParamArray arrValuesObj = pObj->getParameters(); count = arrValuesObj.getParamCount(); return eOk; } //------------------------------------------------------------------------------------------------------- // OdDgGeographicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: MinUsefulLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemMinUsefulLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getMinUsefulLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemMinUsefulLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setMinUsefulLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: MaxUsefulLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemMaxUsefulLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getMaxUsefulLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeographicCoordinateSystemMaxUsefulLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeographicCoordinateSystemPtr pObj = OdDgGeographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setMaxUsefulLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorCoordinateSystemPtr pObj = OdDgTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgAlbersEqualAreaConicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAlbersEqualAreaConicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAlbersEqualAreaConicCoordinateSystemPtr pObj = OdDgAlbersEqualAreaConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgMercatorCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorCoordinateSystemPtr pObj = OdDgMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertAzimuthalEquidistantCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: YAxisAzimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemYAxisAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getYAxisAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemYAxisAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setYAxisAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertAzimuthalEquidistantCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgLambertAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertTangentialCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertTangentialCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertTangentialCoordinateSystemPtr pObj = OdDgLambertTangentialCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPolyconicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicCoordinateSystemPtr pObj = OdDgPolyconicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPolyconicModCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: EasternMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemEasternMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getEasternMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemEasternMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setEasternMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolyconicModCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolyconicModCoordinateSystemPtr pObj = OdDgPolyconicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgAzimuthalEqualAreaCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: YAxisAzimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemYAxisAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getYAxisAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemYAxisAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setYAxisAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEqualAreaCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEqualAreaCoordinateSystemPtr pObj = OdDgAzimuthalEqualAreaCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEquidistantConicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantConicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantConicCoordinateSystemPtr pObj = OdDgEquidistantConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgMillerCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMillerCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMillerCoordinateSystemPtr pObj = OdDgMillerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgStereographicModCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Coefficients //------------------------------------------------------------------------------------------------------- ODDG_DEFINE_RX_VALUE_ARRAY_ITERATOR(double); OdRxValueIteratorPtr OdDgStereographicModCoordinateSystemCoefficientsProperty::subNewValueIterator(const OdRxObject* pO) const { OdRxValueIteratorPtr res; res = OdRxObjectImpl::createObject(); OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (!pObj.isNull()) { OdArray arrValues = pObj->getCoefficients(); ((OdRxdoubleValueIterator *)res.get())->init(arrValues, 0); } return res; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemCoefficientsProperty::subTryGetCount(const OdRxObject* pO, int& count) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; count = pObj->getCoefficients().size(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemCoefficientsProperty::subGetValue(const OdRxObject* pO, int index, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; value = pObj->getCoefficients()[index]; return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemCoefficientsProperty::subSetValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues[index] = *pValue; pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemCoefficientsProperty::subInsertValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues.insert(arrValues.begin() + index, *pValue); pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemCoefficientsProperty::subRemoveValue(OdRxObject* pO, int index) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; OdArray arrValues = pObj->getCoefficients(); arrValues.removeAt(index); pObj->setCoefficients(arrValues); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgStereographicModCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgStereographicModCoordinateSystemPtr pObj = OdDgStereographicModCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgNewZealandCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNewZealandCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNewZealandCoordinateSystemPtr pObj = OdDgNewZealandCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgSinusoidalCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Coefficients //------------------------------------------------------------------------------------------------------- OdRxValueIteratorPtr OdDgSinusoidalCoordinateSystemCoefficientsProperty::subNewValueIterator(const OdRxObject* pO) const { OdRxValueIteratorPtr res; res = OdRxObjectImpl::createObject(); OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (!pObj.isNull()) { OdArray arrValues = pObj->getCoefficients(); ((OdRxdoubleValueIterator *)res.get())->init(arrValues, 0); } return res; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemCoefficientsProperty::subTryGetCount(const OdRxObject* pO, int& count) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; count = pObj->getCoefficients().size(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemCoefficientsProperty::subGetValue(const OdRxObject* pO, int index, OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; value = pObj->getCoefficients()[index]; return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemCoefficientsProperty::subSetValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues[index] = *pValue; pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemCoefficientsProperty::subInsertValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues.insert(arrValues.begin() + index, *pValue); pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemCoefficientsProperty::subRemoveValue(OdRxObject* pO, int index) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; OdArray arrValues = pObj->getCoefficients(); arrValues.removeAt(index); pObj->setCoefficients(arrValues); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSinusoidalCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSinusoidalCoordinateSystemPtr pObj = OdDgSinusoidalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgOrthographicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgOrthographicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgOrthographicCoordinateSystemPtr pObj = OdDgOrthographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgGnomonicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGnomonicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGnomonicCoordinateSystemPtr pObj = OdDgGnomonicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEquidistantCylindricalCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ReferenceParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemReferenceParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getReferenceParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemReferenceParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setReferenceParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalCoordinateSystemPtr pObj = OdDgEquidistantCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgVanDerGrintenCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgVanDerGrintenCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgVanDerGrintenCoordinateSystemPtr pObj = OdDgVanDerGrintenCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgCassiniCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgCassiniCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgCassiniCoordinateSystemPtr pObj = OdDgCassiniCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgRobinsonCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRobinsonCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRobinsonCoordinateSystemPtr pObj = OdDgRobinsonCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgBonneCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBonneCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBonneCoordinateSystemPtr pObj = OdDgBonneCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEckert4CoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert4CoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert4CoordinateSystemPtr pObj = OdDgEckert4CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEckert6CoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEckert6CoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEckert6CoordinateSystemPtr pObj = OdDgEckert6CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgMollweideCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Coefficients //------------------------------------------------------------------------------------------------------- OdRxValueIteratorPtr OdDgMollweideCoordinateSystemCoefficientsProperty::subNewValueIterator(const OdRxObject* pO) const { OdRxValueIteratorPtr res; res = OdRxObjectImpl::createObject(); OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (!pObj.isNull()) { OdArray arrValues = pObj->getCoefficients(); ((OdRxdoubleValueIterator *)res.get())->init(arrValues, 0); } return res; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemCoefficientsProperty::subTryGetCount(const OdRxObject* pO, int& count) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; count = pObj->getCoefficients().size(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemCoefficientsProperty::subGetValue(const OdRxObject* pO, int index, OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; value = pObj->getCoefficients()[index]; return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemCoefficientsProperty::subSetValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues[index] = *pValue; pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemCoefficientsProperty::subInsertValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues.insert(arrValues.begin() + index, *pValue); pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemCoefficientsProperty::subRemoveValue(OdRxObject* pO, int index) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; OdArray arrValues = pObj->getCoefficients(); arrValues.removeAt(index); pObj->setCoefficients(arrValues); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMollweideCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMollweideCoordinateSystemPtr pObj = OdDgMollweideCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgGoodeHomolosineCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Coefficients //------------------------------------------------------------------------------------------------------- OdRxValueIteratorPtr OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subNewValueIterator(const OdRxObject* pO) const { OdRxValueIteratorPtr res; res = OdRxObjectImpl::createObject(); OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (!pObj.isNull()) { OdArray arrValues = pObj->getCoefficients(); ((OdRxdoubleValueIterator *)res.get())->init(arrValues, 0); } return res; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subTryGetCount(const OdRxObject* pO, int& count) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; count = pObj->getCoefficients().size(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subGetValue(const OdRxObject* pO, int index, OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; value = pObj->getCoefficients()[index]; return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subSetValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues[index] = *pValue; pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subInsertValue(OdRxObject* pO, int index, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; const double* pValue = rxvalue_cast(&value); if (pValue) { OdArray arrValues = pObj->getCoefficients(); arrValues.insert(arrValues.begin() + index, *pValue); pObj->setCoefficients(arrValues); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemCoefficientsProperty::subRemoveValue(OdRxObject* pO, int index) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; if (index < 0 || index >= (int)pObj->getCoefficients().size()) return eInvalidIndex; OdArray arrValues = pObj->getCoefficients(); arrValues.removeAt(index); pObj->setCoefficients(arrValues); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGoodeHomolosineCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGoodeHomolosineCoordinateSystemPtr pObj = OdDgGoodeHomolosineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEqualAreaCylindricalNACoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalNACoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalNACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalNACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEqualAreaCylindricalTACoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEqualAreaCylindricalTACoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEqualAreaCylindricalTACoordinateSystemPtr pObj = OdDgEqualAreaCylindricalTACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgBipolarObliqueConformalConicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstPoleLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFirstPoleLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPoleLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFirstPoleLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPoleLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstPoleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFirstPoleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPoleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFirstPoleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPoleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPoleLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemSecondPoleLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPoleLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemSecondPoleLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPoleLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPoleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemSecondPoleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPoleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemSecondPoleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPoleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: DistanceBetweenPoles //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemDistanceBetweenPolesProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getDistanceBetweenPoles(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemDistanceBetweenPolesProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setDistanceBetweenPoles(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AngularDistanceToFirstStdParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemAngularDistanceToFirstStdParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAngularDistanceToFirstStdParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemAngularDistanceToFirstStdParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAngularDistanceToFirstStdParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AngularDistanceToSecondStdParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemAngularDistanceToSecondStdParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAngularDistanceToSecondStdParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemAngularDistanceToSecondStdParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAngularDistanceToSecondStdParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgBipolarObliqueConformalConicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgBipolarObliqueConformalConicCoordinateSystemPtr pObj = OdDgBipolarObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgSwissObliqueCylindricalCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSwissObliqueCylindricalCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSwissObliqueCylindricalCoordinateSystemPtr pObj = OdDgSwissObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPolarStereographicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicCoordinateSystemPtr pObj = OdDgPolarStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueStereographicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueStereographicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueStereographicCoordinateSystemPtr pObj = OdDgObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgSnyderObliqueStereographicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: YAxisAzimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemYAxisAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getYAxisAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemYAxisAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setYAxisAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgSnyderObliqueStereographicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgSnyderObliqueStereographicCoordinateSystemPtr pObj = OdDgSnyderObliqueStereographicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConic1StdLatCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConic1StdLatCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConic1StdLatCoordinateSystemPtr pObj = OdDgLambertConformalConic1StdLatCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicCoordinateSystemPtr pObj = OdDgLambertConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicMichiganCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMichiganCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMichiganCoordinateSystemPtr pObj = OdDgLambertConformalConicMichiganCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicBelgianCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicBelgianCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicBelgianCoordinateSystemPtr pObj = OdDgLambertConformalConicBelgianCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicWCCSCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageSeparation //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemAverageSeparationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageSeparation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemAverageSeparationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageSeparation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageElevation //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemAverageElevationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageElevation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemAverageElevationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageElevation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicWCCSCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicWCCSCoordinateSystemPtr pObj = OdDgLambertConformalConicWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorWCCSCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageSeparation //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemAverageSeparationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageSeparation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemAverageSeparationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageSeparation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageElevation //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemAverageElevationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageElevation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemAverageElevationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageElevation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorWCCSCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorWCCSCoordinateSystemPtr pObj = OdDgTransverseMercatorWCCSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicMCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageHeight //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemAverageHeightProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageHeight(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemAverageHeightProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageHeight(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicMCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicMCoordinateSystemPtr pObj = OdDgLambertConformalConicMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorMCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageHeight //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemAverageHeightProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageHeight(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemAverageHeightProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageHeight(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorMCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorMCoordinateSystemPtr pObj = OdDgTransverseMercatorMCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorRSACoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorRSACoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorRSACoordinateSystemPtr pObj = OdDgTransverseMercatorRSACoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgUniversalTransverseMercatorCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: UTMZone //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorCoordinateSystemUTMZoneProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgUniversalTransverseMercatorCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getUTMZone(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorCoordinateSystemUTMZoneProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgUniversalTransverseMercatorCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setUTMZone(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Hemisphere //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorCoordinateSystemHemisphereProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgUniversalTransverseMercatorCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getHemisphere(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorCoordinateSystemHemisphereProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgUniversalTransverseMercatorCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemHemisphereValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setHemisphere(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorSnyderCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorSnyderCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorSnyderCoordinateSystemPtr pObj = OdDgTransverseMercatorSnyderCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgGaussKrugerCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGaussKrugerCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGaussKrugerCoordinateSystemPtr pObj = OdDgGaussKrugerCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgKrovakCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemPoleLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemPoleLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemPoleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemPoleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovakCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovakCoordinateSystemPtr pObj = OdDgKrovakCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgMercatorSRCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgMercatorSRCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgMercatorSRCoordinateSystemPtr pObj = OdDgMercatorSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueConformalConicCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemPoleLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemPoleLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemPoleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemPoleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueConformalConicCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueConformalConicCoordinateSystemPtr pObj = OdDgObliqueConformalConicCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgKrovak95CoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemPoleLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemPoleLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PoleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemPoleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPoleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemPoleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPoleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgKrovak95CoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgKrovak95CoordinateSystemPtr pObj = OdDgKrovak95CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPolarStereographicSLCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: StandardCircleLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemStandardCircleLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getStandardCircleLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemStandardCircleLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setStandardCircleLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPolarStereographicSLCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPolarStereographicSLCoordinateSystemPtr pObj = OdDgPolarStereographicSLCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorAffineCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A0Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA0CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA0Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA0CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA0Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B0Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB0CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB0Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB0CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB0Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A1Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA1CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA1Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA1CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA1Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A2Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA2CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA2Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemA2CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA2Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B1Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB1CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB1Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB1CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB1Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B2Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB2CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB2Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemB2CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB2Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorAffineCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorAffineCoordinateSystemPtr pObj = OdDgTransverseMercatorAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgNonEarthCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNonEarthCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNonEarthCoordinateSystemPtr pObj = OdDgNonEarthCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueCylindricalCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: GaussianParallelPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemGaussianParallelPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getGaussianParallelPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemGaussianParallelPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setGaussianParallelPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueCylindricalCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueCylindricalCoordinateSystemPtr pObj = OdDgObliqueCylindricalCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgDanishSystemKMS2001CoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: RegionNumber //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS2001CoordinateSystemRegionNumberProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemKMS2001CoordinateSystemPtr pObj = OdDgDanishSystemKMS2001CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getRegionNumber(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS2001CoordinateSystemRegionNumberProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemKMS2001CoordinateSystemPtr pObj = OdDgDanishSystemKMS2001CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setRegionNumber(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS2001CoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemKMS2001CoordinateSystemPtr pObj = OdDgDanishSystemKMS2001CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS2001CoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemKMS2001CoordinateSystemPtr pObj = OdDgDanishSystemKMS2001CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgAzimuthalEquidistantCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: YAxisAzimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemYAxisAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getYAxisAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemYAxisAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setYAxisAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: AverageElevation //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemAverageElevationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAverageElevation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemAverageElevationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAverageElevation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgAzimuthalEquidistantCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgAzimuthalEquidistantCoordinateSystemPtr pObj = OdDgAzimuthalEquidistantCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgDanishSystemNoKMSCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: RegionNumber //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemNoKMSCoordinateSystemRegionNumberProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemNoKMSCoordinateSystemPtr pObj = OdDgDanishSystemNoKMSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getRegionNumber(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemNoKMSCoordinateSystemRegionNumberProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemNoKMSCoordinateSystemPtr pObj = OdDgDanishSystemNoKMSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setRegionNumber(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemNoKMSCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemNoKMSCoordinateSystemPtr pObj = OdDgDanishSystemNoKMSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemNoKMSCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemNoKMSCoordinateSystemPtr pObj = OdDgDanishSystemNoKMSCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorKFCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorKFCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorKFCoordinateSystemPtr pObj = OdDgTransverseMercatorKFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgWinkelTripelCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ReferenceParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemReferenceParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getReferenceParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemReferenceParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setReferenceParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgWinkelTripelCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgWinkelTripelCoordinateSystemPtr pObj = OdDgWinkelTripelCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgNerthSRCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Rotation //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemRotationProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getRotation(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemRotationProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setRotation(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Scale //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemScaleProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScale(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemScaleProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScale(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgNerthSRCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgNerthSRCoordinateSystemPtr pObj = OdDgNerthSRCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgLambertConformalConicAffineCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: FirstStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFirstStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFirstStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondStandardParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemSecondStandardParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondStandardParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemSecondStandardParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondStandardParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A0Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA0CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA0Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA0CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA0Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B0Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB0CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB0Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB0CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB0Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A1Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA1CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA1Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA1CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA1Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: A2Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA2CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getA2Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemA2CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setA2Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B1Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB1CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB1Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB1CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB1Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: B2Coefficient //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB2CoefficientProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getB2Coefficient(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemB2CoefficientProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setB2Coefficient(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgLambertConformalConicAffineCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgLambertConformalConicAffineCoordinateSystemPtr pObj = OdDgLambertConformalConicAffineCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgDanishSystemKMS1999CoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: RegionNumber //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS1999CoordinateSystemRegionNumberProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemKMS1999CoordinateSystemPtr pObj = OdDgDanishSystemKMS1999CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getRegionNumber(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS1999CoordinateSystemRegionNumberProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemKMS1999CoordinateSystemPtr pObj = OdDgDanishSystemKMS1999CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setRegionNumber(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS1999CoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgDanishSystemKMS1999CoordinateSystemPtr pObj = OdDgDanishSystemKMS1999CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgDanishSystemKMS1999CoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgDanishSystemKMS1999CoordinateSystemPtr pObj = OdDgDanishSystemKMS1999CoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgEquidistantCylindricalECoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ReferenceParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemReferenceParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getReferenceParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemReferenceParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setReferenceParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgEquidistantCylindricalECoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgEquidistantCylindricalECoordinateSystemPtr pObj = OdDgEquidistantCylindricalECoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPlateCarreeCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemOriginLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemOriginLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ReferenceParallel //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemReferenceParallelProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getReferenceParallel(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemReferenceParallelProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setReferenceParallel(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPlateCarreeCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPlateCarreeCoordinateSystemPtr pObj = OdDgPlateCarreeCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgPseudoMercatorCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgPseudoMercatorCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgPseudoMercatorCoordinateSystemPtr pObj = OdDgPseudoMercatorCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgUniversalTransverseMercatorBFCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: UTMZone //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorBFCoordinateSystemUTMZoneProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgUniversalTransverseMercatorBFCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getUTMZone(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorBFCoordinateSystemUTMZoneProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgUniversalTransverseMercatorBFCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setUTMZone(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Hemisphere //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorBFCoordinateSystemHemisphereProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgUniversalTransverseMercatorBFCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getHemisphere(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgUniversalTransverseMercatorBFCoordinateSystemHemisphereProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgUniversalTransverseMercatorBFCoordinateSystemPtr pObj = OdDgUniversalTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemHemisphereValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setHemisphere(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgTransverseMercatorBFCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralMeredian //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemCentralMeredianProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralMeredian(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemCentralMeredianProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralMeredian(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgTransverseMercatorBFCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgTransverseMercatorBFCoordinateSystemPtr pObj = OdDgTransverseMercatorBFCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueMercator1PtUVCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemCentralPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemCentralPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: CentralPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemCentralPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemCentralPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Azimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtUVCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator1PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueMercator1PtXYCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemCentralPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemCentralPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: CentralPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemCentralPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemCentralPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Azimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator1PtXYCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator1PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator1PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueMercator2PtUVCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFirstPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFirstPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFirstPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFirstPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemSecondPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemSecondPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemSecondPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemSecondPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtUVCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtUVCoordinateSystemPtr pObj = OdDgObliqueMercator2PtUVCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgObliqueMercator2PtXYCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: OriginLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemOriginLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getOriginLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemOriginLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setOriginLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFirstPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFirstPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FirstPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFirstPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFirstPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFirstPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFirstPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemSecondPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemSecondPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: SecondPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemSecondPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getSecondPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemSecondPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setSecondPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgObliqueMercator2PtXYCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgObliqueMercator2PtXYCoordinateSystemPtr pObj = OdDgObliqueMercator2PtXYCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgRectifiedSkewOrthoAOCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemCentralPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemCentralPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: CentralPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemCentralPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemCentralPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Azimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoAOCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoAOCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoAOCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgRectifiedSkewOrthoCCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemCentralPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemCentralPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: CentralPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemCentralPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemCentralPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Azimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoCCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoCCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoCCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgRectifiedSkewOrthoIsectCoordinateSystem //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CentralPointLongitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemCentralPointLongitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLongitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemCentralPointLongitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLongitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: CentralPointLatitude //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemCentralPointLatitudeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getCentralPointLatitude(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemCentralPointLatitudeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCentralPointLatitude(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Azimuth //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemAzimuthProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getAzimuth(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemAzimuthProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setAzimuth(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: ScaleReduction //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemScaleReductionProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getScaleReduction(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemScaleReductionProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setScaleReduction(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseEasting //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemFalseEastingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseEasting(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemFalseEastingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseEasting(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: FalseNorthing //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemFalseNorthingProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getFalseNorthing(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemFalseNorthingProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const double* pValue = rxvalue_cast(&value); if (pValue) { pObj->setFalseNorthing(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Quadrant //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemQuadrantProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getQuadrant(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgRectifiedSkewOrthoIsectCoordinateSystemQuadrantProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgRectifiedSkewOrthoIsectCoordinateSystemPtr pObj = OdDgRectifiedSkewOrthoIsectCoordinateSystem::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataCoordinateSystemParam::OdDgGeoDataCoordSystemQuadrantValue* pValue = rxvalue_cast(&value); if (pValue) { pObj->setQuadrant(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // OdDgGeoDataInfo //------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------- // Property: CoordinateSystem //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoCoordinateSystemProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = (OdRxObjectPtr)pObj->getCoordinateSystem(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoCoordinateSystemProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdRxObjectPtr* pValue = rxvalue_cast(&value); if (pValue) { pObj->setCoordinateSystem(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: Datum //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoDatumProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getDatum(); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: Ellipsoid //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoEllipsoidProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getEllipsoid(); return eOk; } //------------------------------------------------------------------------------------------------------- // Property: VerticalDataType //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoVerticalDataTypeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getVerticalDataType(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoVerticalDataTypeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataInfo::OdDgGeoDataVerticalDataType* pValue = rxvalue_cast(&value); if (pValue) { pObj->setVerticalDataType(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: LocalTransformType //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoLocalTransformTypeProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getLocalTransformType(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoLocalTransformTypeProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataInfo::OdDgGeoDataLocalTransformType* pValue = rxvalue_cast(&value); if (pValue) { pObj->setLocalTransformType(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: HelmertParams //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoHelmertParamsProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getHelmertParams(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoHelmertParamsProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdDgGeoDataHelmertParams* pValue = rxvalue_cast(&value); if (pValue) { pObj->setHelmertParams(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: NumberOfSubUnitsInMasterUnit //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoNumberOfSubUnitsInMasterUnitProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getNumberOfSubUnitsInMasterUnit(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoNumberOfSubUnitsInMasterUnitProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setNumberOfSubUnitsInMasterUnit(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: NumberOfUORSInSubUnit //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoNumberOfUORSInSubUnitProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getNumberOfUORSInSubUnit(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoNumberOfUORSInSubUnitProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const OdUInt32* pValue = rxvalue_cast(&value); if (pValue) { pObj->setNumberOfUORSInSubUnit(*pValue); return eOk; } return eNotThatKindOfClass; } //------------------------------------------------------------------------------------------------------- // Property: PlacemarkSourceFlag //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoPlacemarkSourceFlagProperty::subGetValue(const OdRxObject* pO, OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; value = pObj->getPlacemarkSourceFlag(); return eOk; } //------------------------------------------------------------------------------------------------------- OdResult OdDgGeoDataInfoPlacemarkSourceFlagProperty::subSetValue(OdRxObject* pO, const OdRxValue& value) const { OdDgGeoDataInfoPtr pObj = OdDgGeoDataInfo::cast(pO); if (pObj.isNull()) return eNotApplicable; const bool* pValue = rxvalue_cast(&value); if (pValue) { pObj->setPlacemarkSourceFlag(*pValue); return eOk; } return eNotThatKindOfClass; } //-----------------------------------------------------------------------------------------------------------------------