Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / GeomPlate_Surface Bug !

GeomPlate_Surface Bug !

GeomPlate_Surface Bug !
varcol 2003/08/16 00:51
Most recently I wrote some code that shall display an approximation of a cloud of points.

Here is the vital part of it, that causes severe problems compiling:

GeomPlate_BuildPlateSurface BPSurf(3,15,2);
...
Handle(GeomPlate_Surface) PSurf=BPSurf.Surface();
...
Standard_Real Umin, Umax, Vmin, Vmax;
PSurf.Bounds( Umin, Umax, Vmin, Vmax);
...

The compiler complaints:
... no matching function for call to `Handle_GeomPlate_Surface::Bounds (Standard_Real &, Standard_Real &, Standard_Real &, Standard_Real &)'



I have tried anything and all variants with or without Handle, Pointers...
like PSurf->Bounds( Umin, Umax, Vmin, Vmax);


The OCC 5.0 source-code of this suspect method says:
void GeomPlate_Surface::Bounds(Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const
{
if (mySurfinit->DynamicType() == STANDARD_TYPE(GeomPlate_Surface))
mySurfinit->Bounds(U1,U2,V1,V2);
else
{U1=myUmin;U2=myUmax;V1=myVmin;V2=myVmax;}
}


What to do now ? Is it a bug in OCC ???

Any hints and tricks are welcome !!!


MCV
mcv 2003/08/16 18:12
Please, oh God in heaven let someone finally wake up in this community with an idea. It just cannot be, that no one has ever used GeomPlate_Surface.
Just can't be.

Come on folks, say something...

MCV
Wahab_shah 2012/07/09 15:31
You forgot to add the last argument of Tolerance
     
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map