View Issue Details

IDProjectCategoryView StatusLast Update
0000479CommunityOCCT:Modeling Algorithmspublic2011-12-15 17:54
ReporteremoAssigned Toskv 
PrioritynoneSeverityfeature 
Status closedResolutionunable to reproduce 
OSAll 
Fixed in Version5.1.1 
Summary0000479: GeomPlate_Surface::UIso and GeomPlate_Surface::VIso return NULL Geom_Curve
DescriptionThis bug has been added at
http://www.opencascade.org/forumorg/bug.php?bug_id=58&f=8 by François Lauzon.

That's a very old bug that I already submitted, I even corrected it but never
heard from it, so I submit it again. What I did is to build a
GeomAdaptor_IsoCurve class that could be used by any Geom_Surface to build an
iso curve. So here is the corrected methods for the GeomPlate_Surface and I
have attached the class GeomAdaptor_IsoCurve.

//=======================================================================
//function : UIso
//purpose :
//=======================================================================

Handle(Geom_Curve) GeomPlate_Surface::UIso(const Standard_Real pos) const
{
// build an adaptor iso curve
Handle_GeomAdaptor_IsoCurve iso=new GeomAdaptor_IsoCurve(this,GeomAbs_IsoU,pos);
return iso;

}
                              
//=======================================================================
//function : VIso
//purpose :
//=======================================================================

Handle(Geom_Curve) GeomPlate_Surface::VIso(const Standard_Real pos) const
{
// build an adaptor iso curve
Handle_GeomAdaptor_IsoCurve iso=new GeomAdaptor_IsoCurve(this,GeomAbs_IsoV,pos);
return iso;
}
TagsNo tags attached.
Test case number

Attached Files

  • GeomAdaptor_IsoCurve.cxx (14,305 bytes)
  • GeomAdaptor_IsoCurve.hxx (4,868 bytes)

Activities

2002-06-24 10:41

 

GeomAdaptor_IsoCurve.cxx (14,305 bytes)

2002-06-24 10:42

 

GeomAdaptor_IsoCurve.hxx (4,868 bytes)

Issue History

Date Modified Username Field Change
2002-06-24 14:57 bugmaster Assigned To bugmaster => ifv
2002-06-24 14:57 bugmaster Status new => assigned
2002-06-24 19:48 ifv Assigned To ifv => jgv
2002-06-27 19:06 bugmaster Status assigned => closed
2002-06-27 19:06 bugmaster Resolution @0@ => unable to reproduce
2002-09-03 12:21 bugmaster Status closed => @-1@
2002-09-03 12:21 bugmaster Resolution unable to reproduce => @0@
2002-09-03 12:24 bugmaster Assigned To jgv => ifv
2002-09-03 12:24 bugmaster Status @-1@ => assigned
2002-09-03 15:44 bugmaster Type => IMP
2003-04-28 17:29 bugmaster Assigned To ifv => skv
2003-09-30 17:48 bugmaster Status assigned => closed
2003-09-30 17:48 bugmaster Fixed in Version => 5.1.1
2003-09-30 17:48 bugmaster Resolution @0@ => unable to reproduce
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2011-12-15 17:54 bugmaster Project Open CASCADE => Community