mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-05 04:07:58 +08: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:
committed by
bugmaster
parent
a3d2cb2425
commit
34e4e9f26e
@@ -49,6 +49,10 @@ class Geom2d_BSplineCurve;
|
||||
//! the curve by algorithms, which use it.
|
||||
//! A derived concrete class is provided:
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -51,6 +51,10 @@ class Geom_BSplineCurve;
|
||||
//! - GeomAdaptor_Curve for a curve from the Geom package
|
||||
//! - Adaptor3d_CurveOnSurface for a curve lying on
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -61,6 +61,10 @@ class Adaptor3d_HCurve;
|
||||
//! Warning: All the methods are virtual and implemented with a
|
||||
//! raise to allow to redefined only the methods realy
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -51,6 +51,10 @@ class Geom2d_BSplineCurve;
|
||||
//! An interface between the services provided by any
|
||||
//! curve from the package Geom2d and those required
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -52,6 +52,10 @@ class Geom_BSplineCurve;
|
||||
//! 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.
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -54,6 +54,10 @@ class Adaptor3d_HCurve;
|
||||
//! surface from the package Geom and those required
|
||||
//! of the surface by algorithms which use it.
|
||||
//! 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
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user