Changeset 8091 for mauRepo/MolesManager/trunk/src/ea_model/iso_19107_2003_spatial_schema/geometry/coordinate_geometry/gm_offsetcurve.py
 Timestamp:
 21/02/12 08:22:21 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

mauRepo/MolesManager/trunk/src/ea_model/iso_19107_2003_spatial_schema/geometry/coordinate_geometry/gm_offsetcurve.py
r8089 r8091 23 23 24 24 ''' 25 Created on 1 4Feb2012 17:19:2825 Created on 16Feb2012 16:18:08 26 26 27 27 @author: mnagni … … 42 42 self._gm_curvesegment = GM_CurveSegment() 43 43 44 self._baseCurve_gm_ arcstringbybulge = None45 self._baseCurve_gm_ linestring= None44 self._baseCurve_gm_splinecurve = None 45 self._baseCurve_gm_offsetcurve = None 46 46 self._baseCurve_gm_arcstring = None 47 self._baseCurve_gm_clothoid = None48 47 self._baseCurve_gm_conic = None 49 48 self._baseCurve_gm_geodesicstring = None 50 self._baseCurve_gm_offsetcurve = None 51 self._baseCurve_gm_splinecurve = None 49 self._baseCurve_gm_linestring = None 50 self._baseCurve_gm_arcstringbybulge = None 51 self._baseCurve_gm_clothoid = None 52 52 self.refDirection = None 53 53 self.numDerivativesAtEnd = None … … 61 61 @property 62 62 def baseCurve(self): 63 if(has_value(self._baseCurve_gm_ arcstringbybulge)):64 return self._baseCurve_gm_ arcstringbybulge65 if(has_value(self._baseCurve_gm_ linestring)):66 return self._baseCurve_gm_ linestring63 if(has_value(self._baseCurve_gm_splinecurve)): 64 return self._baseCurve_gm_splinecurve 65 if(has_value(self._baseCurve_gm_offsetcurve)): 66 return self._baseCurve_gm_offsetcurve 67 67 if(has_value(self._baseCurve_gm_arcstring)): 68 68 return self._baseCurve_gm_arcstring 69 if(has_value(self._baseCurve_gm_clothoid)):70 return self._baseCurve_gm_clothoid71 69 if(has_value(self._baseCurve_gm_conic)): 72 70 return self._baseCurve_gm_conic 73 71 if(has_value(self._baseCurve_gm_geodesicstring)): 74 72 return self._baseCurve_gm_geodesicstring 75 if(has_value(self._baseCurve_gm_offsetcurve)): 76 return self._baseCurve_gm_offsetcurve 77 if(has_value(self._baseCurve_gm_splinecurve)): 78 return self._baseCurve_gm_splinecurve 73 if(has_value(self._baseCurve_gm_linestring)): 74 return self._baseCurve_gm_linestring 75 if(has_value(self._baseCurve_gm_arcstringbybulge)): 76 return self._baseCurve_gm_arcstringbybulge 77 if(has_value(self._baseCurve_gm_clothoid)): 78 return self._baseCurve_gm_clothoid 79 79 return None 80 80 … … 82 82 def baseCurve(self, value): 83 83 valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 84 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_splinecurve.GM_SplineCurve": 85 self._baseCurve_gm_splinecurve = value 86 self._baseCurve_gm_offsetcurve = None 87 self._baseCurve_gm_arcstring = None 88 self._baseCurve_gm_conic = None 89 self._baseCurve_gm_geodesicstring = None 90 self._baseCurve_gm_linestring = None 91 self._baseCurve_gm_arcstringbybulge = None 92 self._baseCurve_gm_clothoid = None 93 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_offsetcurve.GM_OffsetCurve": 94 self._baseCurve_gm_offsetcurve = value 95 self._baseCurve_gm_splinecurve = None 96 self._baseCurve_gm_arcstring = None 97 self._baseCurve_gm_conic = None 98 self._baseCurve_gm_geodesicstring = None 99 self._baseCurve_gm_linestring = None 100 self._baseCurve_gm_arcstringbybulge = None 101 self._baseCurve_gm_clothoid = None 102 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstring.GM_ArcString": 103 self._baseCurve_gm_arcstring = value 104 self._baseCurve_gm_splinecurve = None 105 self._baseCurve_gm_offsetcurve = None 106 self._baseCurve_gm_conic = None 107 self._baseCurve_gm_geodesicstring = None 108 self._baseCurve_gm_linestring = None 109 self._baseCurve_gm_arcstringbybulge = None 110 self._baseCurve_gm_clothoid = None 111 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_conic.GM_Conic": 112 self._baseCurve_gm_conic = value 113 self._baseCurve_gm_splinecurve = None 114 self._baseCurve_gm_offsetcurve = None 115 self._baseCurve_gm_arcstring = None 116 self._baseCurve_gm_geodesicstring = None 117 self._baseCurve_gm_linestring = None 118 self._baseCurve_gm_arcstringbybulge = None 119 self._baseCurve_gm_clothoid = None 120 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_geodesicstring.GM_GeodesicString": 121 self._baseCurve_gm_geodesicstring = value 122 self._baseCurve_gm_splinecurve = None 123 self._baseCurve_gm_offsetcurve = None 124 self._baseCurve_gm_arcstring = None 125 self._baseCurve_gm_conic = None 126 self._baseCurve_gm_linestring = None 127 self._baseCurve_gm_arcstringbybulge = None 128 self._baseCurve_gm_clothoid = None 129 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_linestring.GM_LineString": 130 self._baseCurve_gm_linestring = value 131 self._baseCurve_gm_splinecurve = None 132 self._baseCurve_gm_offsetcurve = None 133 self._baseCurve_gm_arcstring = None 134 self._baseCurve_gm_conic = None 135 self._baseCurve_gm_geodesicstring = None 136 self._baseCurve_gm_arcstringbybulge = None 137 self._baseCurve_gm_clothoid = None 84 138 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstringbybulge.GM_ArcStringByBulge": 85 139 self._baseCurve_gm_arcstringbybulge = value 86 self._baseCurve_gm_linestring = None 87 self._baseCurve_gm_arcstring = None 88 self._baseCurve_gm_clothoid = None 89 self._baseCurve_gm_conic = None 90 self._baseCurve_gm_geodesicstring = None 91 self._baseCurve_gm_offsetcurve = None 92 self._baseCurve_gm_splinecurve = None 93 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_linestring.GM_LineString": 94 self._baseCurve_gm_linestring = value 95 self._baseCurve_gm_arcstringbybulge = None 96 self._baseCurve_gm_arcstring = None 97 self._baseCurve_gm_clothoid = None 98 self._baseCurve_gm_conic = None 99 self._baseCurve_gm_geodesicstring = None 100 self._baseCurve_gm_offsetcurve = None 101 self._baseCurve_gm_splinecurve = None 102 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_arcstring.GM_ArcString": 103 self._baseCurve_gm_arcstring = value 104 self._baseCurve_gm_arcstringbybulge = None 105 self._baseCurve_gm_linestring = None 106 self._baseCurve_gm_clothoid = None 107 self._baseCurve_gm_conic = None 108 self._baseCurve_gm_geodesicstring = None 109 self._baseCurve_gm_offsetcurve = None 110 self._baseCurve_gm_splinecurve = None 140 self._baseCurve_gm_splinecurve = None 141 self._baseCurve_gm_offsetcurve = None 142 self._baseCurve_gm_arcstring = None 143 self._baseCurve_gm_conic = None 144 self._baseCurve_gm_geodesicstring = None 145 self._baseCurve_gm_linestring = None 146 self._baseCurve_gm_clothoid = None 111 147 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_clothoid.GM_Clothoid": 112 148 self._baseCurve_gm_clothoid = value 113 self._baseCurve_gm_arcstringbybulge = None 114 self._baseCurve_gm_linestring = None 115 self._baseCurve_gm_arcstring = None 116 self._baseCurve_gm_conic = None 117 self._baseCurve_gm_geodesicstring = None 118 self._baseCurve_gm_offsetcurve = None 119 self._baseCurve_gm_splinecurve = None 120 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_conic.GM_Conic": 121 self._baseCurve_gm_conic = value 122 self._baseCurve_gm_arcstringbybulge = None 123 self._baseCurve_gm_linestring = None 124 self._baseCurve_gm_arcstring = None 125 self._baseCurve_gm_clothoid = None 126 self._baseCurve_gm_geodesicstring = None 127 self._baseCurve_gm_offsetcurve = None 128 self._baseCurve_gm_splinecurve = None 129 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_geodesicstring.GM_GeodesicString": 130 self._baseCurve_gm_geodesicstring = value 131 self._baseCurve_gm_arcstringbybulge = None 132 self._baseCurve_gm_linestring = None 133 self._baseCurve_gm_arcstring = None 134 self._baseCurve_gm_clothoid = None 135 self._baseCurve_gm_conic = None 136 self._baseCurve_gm_offsetcurve = None 137 self._baseCurve_gm_splinecurve = None 138 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_offsetcurve.GM_OffsetCurve": 139 self._baseCurve_gm_offsetcurve = value 140 self._baseCurve_gm_arcstringbybulge = None 141 self._baseCurve_gm_linestring = None 142 self._baseCurve_gm_arcstring = None 143 self._baseCurve_gm_clothoid = None 144 self._baseCurve_gm_conic = None 145 self._baseCurve_gm_geodesicstring = None 146 self._baseCurve_gm_splinecurve = None 147 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.coordinate_geometry.gm_splinecurve.GM_SplineCurve": 148 self._baseCurve_gm_splinecurve = value 149 self._baseCurve_gm_arcstringbybulge = None 150 self._baseCurve_gm_linestring = None 151 self._baseCurve_gm_arcstring = None 152 self._baseCurve_gm_clothoid = None 153 self._baseCurve_gm_conic = None 154 self._baseCurve_gm_geodesicstring = None 155 self._baseCurve_gm_offsetcurve = None 149 self._baseCurve_gm_splinecurve = None 150 self._baseCurve_gm_offsetcurve = None 151 self._baseCurve_gm_arcstring = None 152 self._baseCurve_gm_conic = None 153 self._baseCurve_gm_geodesicstring = None 154 self._baseCurve_gm_linestring = None 155 self._baseCurve_gm_arcstringbybulge = None 156 156 157 157 @property
Note: See TracChangeset
for help on using the changeset viewer.