mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0027491: GeomAdaptor_Curve Is Not Thread-Safe (Anymore?)
Added hint about BSpline cache and missing thread-safety to adaptor classes.
This commit is contained in:
parent
a3d2cb2425
commit
34e4e9f26e
@ -49,6 +49,10 @@ class Geom2d_BSplineCurve;
|
|||||||
//! the curve by algorithms, which use it.
|
//! the curve by algorithms, which use it.
|
||||||
//! A derived concrete class is provided:
|
//! A derived concrete class is provided:
|
||||||
//! Geom2dAdaptor_Curve for a curve from the Geom2d package.
|
//! Geom2dAdaptor_Curve for a curve from the Geom2d package.
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline curves used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class Adaptor2d_Curve2d
|
class Adaptor2d_Curve2d
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -51,6 +51,10 @@ class Geom_BSplineCurve;
|
|||||||
//! - GeomAdaptor_Curve for a curve from the Geom package
|
//! - GeomAdaptor_Curve for a curve from the Geom package
|
||||||
//! - Adaptor3d_CurveOnSurface for a curve lying on
|
//! - Adaptor3d_CurveOnSurface for a curve lying on
|
||||||
//! a surface from the Geom package.
|
//! a surface from the Geom package.
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline curves used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class Adaptor3d_Curve
|
class Adaptor3d_Curve
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -61,6 +61,10 @@ class Adaptor3d_HCurve;
|
|||||||
//! Warning: All the methods are virtual and implemented with a
|
//! Warning: All the methods are virtual and implemented with a
|
||||||
//! raise to allow to redefined only the methods realy
|
//! raise to allow to redefined only the methods realy
|
||||||
//! used.
|
//! used.
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline surfaces used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class Adaptor3d_Surface
|
class Adaptor3d_Surface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -51,6 +51,10 @@ class Geom2d_BSplineCurve;
|
|||||||
//! An interface between the services provided by any
|
//! An interface between the services provided by any
|
||||||
//! curve from the package Geom2d and those required
|
//! curve from the package Geom2d and those required
|
||||||
//! of the curve by algorithms which use it.
|
//! of the curve by algorithms which use it.
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline curves used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class Geom2dAdaptor_Curve : public Adaptor2d_Curve2d
|
class Geom2dAdaptor_Curve : public Adaptor2d_Curve2d
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -52,6 +52,10 @@ class Geom_BSplineCurve;
|
|||||||
//! This class provides an interface between the services provided by any
|
//! This class provides an interface between the services provided by any
|
||||||
//! curve from the package Geom and those required of the curve by algorithms which use it.
|
//! curve from the package Geom and those required of the curve by algorithms which use it.
|
||||||
//! Creation of the loaded curve the curve is C1 by piece.
|
//! Creation of the loaded curve the curve is C1 by piece.
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline curves used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class GeomAdaptor_Curve : public Adaptor3d_Curve
|
class GeomAdaptor_Curve : public Adaptor3d_Curve
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -54,6 +54,10 @@ class Adaptor3d_HCurve;
|
|||||||
//! surface from the package Geom and those required
|
//! surface from the package Geom and those required
|
||||||
//! of the surface by algorithms which use it.
|
//! of the surface by algorithms which use it.
|
||||||
//! Creation of the loaded surface the surface is C1 by piece
|
//! Creation of the loaded surface the surface is C1 by piece
|
||||||
|
//!
|
||||||
|
//! Polynomial coefficients of BSpline surfaces used for their evaluation are
|
||||||
|
//! cached for better performance. Therefore these evaluations are not
|
||||||
|
//! thread-safe and parallel evaluations need to be prevented.
|
||||||
class GeomAdaptor_Surface : public Adaptor3d_Surface
|
class GeomAdaptor_Surface : public Adaptor3d_Surface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user