Changeset 8087 for mauRepo/MolesManager/trunk/src/ea_model/iso_19107_2003_spatial_schema/geometry/coordinate_geometry/gm_conic.py
 Timestamp:
 06/02/12 16:49:57 (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_conic.py
r8086 r8087 17 17 18 18 from ea_model.iso_19107_2003_spatial_schema.geometry.geometric_primitive.gm_curvesegment import GM_CurveSegment 19 from ascore.utils import has_value 19 20 20 21 ''' 21 Created on 0 3Feb2012 10:41:1322 Created on 06Feb2012 15:59:42 22 23 23 24 @author: mnagni … … 39 40 40 41 self.startConstrParam = None 42 self.curve = None 41 43 self.numDerivativesAtEnd = None 42 self.curve = None43 44 self.interpolation = None 44 45 self.numDerivativesAtStart = None … … 54 55 55 56 @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 56 65 def numDerivativesAtEnd(self): 57 66 return self._gm_curvesegment.numDerivativesAtEnd … … 60 69 def numDerivativesAtEnd(self, value): 61 70 self._gm_curvesegment.numDerivativesAtEnd = value 62 63 @property64 def curve(self):65 return self._gm_curvesegment.curve66 67 @curve.setter68 def curve(self, value):69 self._gm_curvesegment.curve = value70 71 71 72 @property … … 104 105 105 106 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) 107 108 108 109 def __eq__(x, y):
Note: See TracChangeset
for help on using the changeset viewer.