Ignore:
Timestamp:
06/02/12 16:49:57 (8 years ago)
Author:
mnagni
Message:

Imported a new DB library which fixes the MO_ObservationColleciton <--> CEDA_ObservationCollection problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19107_2003_spatial_schema/geometry/coordinate_geometry/gm_conic.py

    r8086 r8087  
    1717 
    1818from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_curvesegment import  GM_CurveSegment  
     19from ascore.utils import has_value 
    1920 
    2021''' 
    21 Created on 03-Feb-2012 10:41:13 
     22Created on 06-Feb-2012 15:59:42 
    2223 
    2324@author: mnagni 
     
    3940 
    4041        self.startConstrParam = None 
     42        self.curve = None 
    4143        self.numDerivativesAtEnd = None 
    42         self.curve = None 
    4344        self.interpolation = None 
    4445        self.numDerivativesAtStart = None 
     
    5455 
    5556    @property 
     57    def curve(self): 
     58        return self._gm_curvesegment.curve 
     59 
     60    @curve.setter 
     61    def curve(self, value): 
     62            self._gm_curvesegment.curve = value 
     63 
     64    @property 
    5665    def numDerivativesAtEnd(self): 
    5766        return self._gm_curvesegment.numDerivativesAtEnd 
     
    6069    def numDerivativesAtEnd(self, value): 
    6170            self._gm_curvesegment.numDerivativesAtEnd = value 
    62  
    63     @property 
    64     def curve(self): 
    65         return self._gm_curvesegment.curve 
    66  
    67     @curve.setter 
    68     def curve(self, value): 
    69             self._gm_curvesegment.curve = value 
    7071 
    7172    @property 
     
    104105 
    105106    def __key(self): 
    106         return (self.startConstrParam, self.numDerivativesAtEnd, self.curve, self.interpolation, self.numDerivativesAtStart, self.endConstrParam, self.numDerivativeInterior, self.shifted, self.position, self.semiLatusRectum, self.eccentricity) 
     107        return (self.startConstrParam, self.curve, self.numDerivativesAtEnd, self.interpolation, self.numDerivativesAtStart, self.endConstrParam, self.numDerivativeInterior, self.shifted, self.position, self.semiLatusRectum, self.eccentricity) 
    107108 
    108109    def __eq__(x, y): 
Note: See TracChangeset for help on using the changeset viewer.