Changeset 8457 for mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/informative/spatial_examples_from_iso_19107/application_schema/simplicial_topology/onesimplex.py
 Timestamp:
 10/07/12 14:41:56 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

mauRepo/CedaMolesModel/trunk/ceda_moles_model/ea_model/informative/spatial_examples_from_iso_19107/application_schema/simplicial_topology/onesimplex.py
r8437 r8457 22 22 23 23 ''' 24 Created on 06Jul2012 07:43:0824 Created on 10Jul2012 14:14:57 25 25 26 26 @author: mnagni … … 41 41 42 42 self.dimension = None 43 self._vertices_eg_pointestimate = None 43 44 self._vertices_gm_compositepoint = None 44 self._vertices_eg_pointestimate = None45 45 self._vertices = None 46 46 super(OneSimplex, self).__init__() 47 47 @property 48 48 def vertices(self): 49 if(has_value(self._vertices_eg_pointestimate)): 50 return self._vertices_eg_pointestimate 49 51 if(has_value(self._vertices_gm_compositepoint)): 50 52 return self._vertices_gm_compositepoint 51 if(has_value(self._vertices_eg_pointestimate)):52 return self._vertices_eg_pointestimate53 53 return None 54 54 … … 56 56 def vertices(self, value): 57 57 valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 58 if valueClass == "ea_model.iso_19133_tracking_and_navigation.tracking.point_estimates.eg_pointestimate.EG_PointEstimate": 59 self._vertices_eg_pointestimate = value 60 self._vertices_gm_compositepoint = None 58 61 if valueClass == "ea_model.iso_19107_2003_spatial_schema.geometry.geometric_complex.gm_compositepoint.GM_CompositePoint": 59 62 self._vertices_gm_compositepoint = value 60 63 self._vertices_eg_pointestimate = None 61 if valueClass == "ea_model.iso_19133_tracking_and_navigation.tracking.point_estimates.eg_pointestimate.EG_PointEstimate":62 self._vertices_eg_pointestimate = value63 self._vertices_gm_compositepoint = None64 64 65 65 def synchronize(self):
Note: See TracChangeset
for help on using the changeset viewer.