mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026595: Lost some comments in OCCT-code after cdl elimination
Recovered comments for instance classes from CDL generic classes.
This commit is contained in:
@@ -43,20 +43,38 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates an undefined classifier.
|
||||
Standard_EXPORT BRepClass_FClass2dOfFClassifier();
|
||||
|
||||
//! Starts a classification process. The point to
|
||||
//! classify is the origin of the line <L>. <P> is
|
||||
//! the original length of the segment on <L> used to
|
||||
//! compute intersections. <Tol> is the tolerance
|
||||
//! attached to the line segment in intersections.
|
||||
Standard_EXPORT void Reset (const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol);
|
||||
|
||||
//! Updates the classification process with the edge
|
||||
//! <E> from the boundary.
|
||||
Standard_EXPORT void Compare (const BRepClass_Edge& E, const TopAbs_Orientation Or);
|
||||
|
||||
//! Returns the current value of the parameter.
|
||||
Standard_Real Parameter() const;
|
||||
|
||||
//! Returns the intersecting algorithm.
|
||||
BRepClass_Intersector& Intersector();
|
||||
|
||||
//! Returns 0 if the last compared edge had no
|
||||
//! relevant intersection. Else returns the index of
|
||||
//! this intersection in the last intersection
|
||||
//! algorithm.
|
||||
Standard_Integer ClosestIntersection() const;
|
||||
|
||||
//! Returns the current state of the point.
|
||||
TopAbs_State State() const;
|
||||
|
||||
//! Returns the Standard_True if the closest intersection point
|
||||
//! represents head or end of the edge. Returns Standard_False
|
||||
//! otherwise.
|
||||
Standard_Boolean IsHeadOrEnd() const;
|
||||
|
||||
|
||||
|
@@ -43,22 +43,39 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Empty constructor, undefined algorithm.
|
||||
Standard_EXPORT BRepClass_FClassifier();
|
||||
|
||||
//! Creates an algorithm to classify the Point P with
|
||||
//! Tolerance <T> on the face described by <F>.
|
||||
Standard_EXPORT BRepClass_FClassifier(BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
|
||||
|
||||
//! Classify the Point P with Tolerance <T> on the
|
||||
//! face described by <F>.
|
||||
Standard_EXPORT void Perform (BRepClass_FaceExplorer& F, const gp_Pnt2d& P, const Standard_Real Tol);
|
||||
|
||||
//! Returns the result of the classification.
|
||||
Standard_EXPORT TopAbs_State State() const;
|
||||
|
||||
//! Returns True when the state was computed by a
|
||||
//! rejection. The state is OUT.
|
||||
Standard_Boolean Rejected() const;
|
||||
|
||||
//! Returns True if the face contains no wire. The
|
||||
//! state is IN.
|
||||
Standard_Boolean NoWires() const;
|
||||
|
||||
//! Returns the Edge used to determine the
|
||||
//! classification. When the State is ON this is the
|
||||
//! Edge containing the point.
|
||||
Standard_EXPORT const BRepClass_Edge& Edge() const;
|
||||
|
||||
//! Returns the parameter on Edge() used to determine the
|
||||
//! classification.
|
||||
Standard_EXPORT Standard_Real EdgeParameter() const;
|
||||
|
||||
//! Returns the position of the point on the edge
|
||||
//! returned by Edge.
|
||||
IntRes2d_Position Position() const;
|
||||
|
||||
|
||||
|
@@ -43,20 +43,38 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates an undefined classifier.
|
||||
Standard_EXPORT BRepClass_FacePassiveClassifier();
|
||||
|
||||
//! Starts a classification process. The point to
|
||||
//! classify is the origin of the line <L>. <P> is
|
||||
//! the original length of the segment on <L> used to
|
||||
//! compute intersections. <Tol> is the tolerance
|
||||
//! attached to the line segment in intersections.
|
||||
Standard_EXPORT void Reset (const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol);
|
||||
|
||||
//! Updates the classification process with the edge
|
||||
//! <E> from the boundary.
|
||||
Standard_EXPORT void Compare (const BRepClass_Edge& E, const TopAbs_Orientation Or);
|
||||
|
||||
//! Returns the current value of the parameter.
|
||||
Standard_Real Parameter() const;
|
||||
|
||||
//! Returns the intersecting algorithm.
|
||||
BRepClass_Intersector& Intersector();
|
||||
|
||||
//! Returns 0 if the last compared edge had no
|
||||
//! relevant intersection. Else returns the index of
|
||||
//! this intersection in the last intersection
|
||||
//! algorithm.
|
||||
Standard_Integer ClosestIntersection() const;
|
||||
|
||||
//! Returns the current state of the point.
|
||||
TopAbs_State State() const;
|
||||
|
||||
//! Returns the Standard_True if the closest intersection point
|
||||
//! represents head or end of the edge. Returns Standard_False
|
||||
//! otherwise.
|
||||
Standard_Boolean IsHeadOrEnd() const;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user