Open CASCADE Technology
6.5.4
|
Definition of an intersection line between two
surfaces.
A line may be either geometric : line, circle, ellipse,
parabola, hyperbola, as defined in the class GLine,
or analytic, as defined in the class ALine, or defined
by a set of points (coming from a walking algorithm) as
defined in the class WLine.
#include <IntPatch_Line.hxx>
Public Member Functions | |
void | SetValue (const Standard_Boolean Uiso1, const Standard_Boolean Viso1, const Standard_Boolean Uiso2, const Standard_Boolean Viso2) |
To set the values returned by IsUIsoS1,.... The default values are False. | |
IntPatch_IType | ArcType () const |
Returns the type of geometry 3d (Line, Circle, Parabola, Hyperbola, Ellipse, Analytic, Walking, Restriction) | |
Standard_Boolean | IsTangent () const |
Returns TRUE if the intersection is a line of tangency between the 2 patches. | |
IntSurf_TypeTrans | TransitionOnS1 () const |
Returns the type of the transition of the line for the first surface. The transition is "constant" along the line. The transition is IN if the line is oriented in such a way that the system of vector (N1,N2,T) is right-handed, where N1 is the normal to the first surface at a point P, N2 is the normal to the second surface at a point P, T is the tangent to the intersection line at P. If the system of vector is left-handed, the transition is OUT. When N1 and N2 are colinear all along the intersection line, the transition will be | |
IntSurf_TypeTrans | TransitionOnS2 () const |
Returns the type of the transition of the line for the second surface. The transition is "constant" along the line. | |
IntSurf_Situation | SituationS1 () const |
Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the first patch compared to the second one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised. | |
IntSurf_Situation | SituationS2 () const |
Returns the situation (INSIDE/OUTSIDE/UNKNOWN) of the second patch compared to the first one, when TransitionOnS1 or TransitionOnS2 returns TOUCH. Otherwise, an exception is raised. | |
Standard_Boolean | IsUIsoOnS1 () const |
Returns TRUE if the intersection is a U isoparametric curve on the first patch. | |
Standard_Boolean | IsVIsoOnS1 () const |
Returns TRUE if the intersection is a V isoparametric curve on the first patch. | |
Standard_Boolean | IsUIsoOnS2 () const |
Returns TRUE if the intersection is a U isoparametric curve on the second patch. | |
Standard_Boolean | IsVIsoOnS2 () const |
Returns TRUE if the intersection is a V isoparametric curve on the second patch. | |
Protected Member Functions | |
IntPatch_Line (const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2) | |
To initialize the fields, when the transitions are In or Out. | |
IntPatch_Line (const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2) | |
To initialize the fields, when the transitions are Touch. | |
IntPatch_Line (const Standard_Boolean Tang) | |
To initialize the fields, when the transitions are Undecided. | |
Protected Attributes | |
IntPatch_IType | typ |
IntPatch_Line::IntPatch_Line | ( | const Standard_Boolean | Tang, |
const IntSurf_TypeTrans | Trans1, | ||
const IntSurf_TypeTrans | Trans2 | ||
) | [protected] |
IntPatch_Line::IntPatch_Line | ( | const Standard_Boolean | Tang, |
const IntSurf_Situation | Situ1, | ||
const IntSurf_Situation | Situ2 | ||
) | [protected] |
IntPatch_Line::IntPatch_Line | ( | const Standard_Boolean | Tang | ) | [protected] |
IntPatch_IType IntPatch_Line::ArcType | ( | ) | const |
Standard_Boolean IntPatch_Line::IsTangent | ( | ) | const |
Standard_Boolean IntPatch_Line::IsUIsoOnS1 | ( | ) | const |
Standard_Boolean IntPatch_Line::IsUIsoOnS2 | ( | ) | const |
Standard_Boolean IntPatch_Line::IsVIsoOnS1 | ( | ) | const |
Standard_Boolean IntPatch_Line::IsVIsoOnS2 | ( | ) | const |
void IntPatch_Line::SetValue | ( | const Standard_Boolean | Uiso1, |
const Standard_Boolean | Viso1, | ||
const Standard_Boolean | Uiso2, | ||
const Standard_Boolean | Viso2 | ||
) |
IntSurf_Situation IntPatch_Line::SituationS1 | ( | ) | const |
IntSurf_Situation IntPatch_Line::SituationS2 | ( | ) | const |
- TOUCH, if it is possible to use the 2nd derivatives <br> to determine the position of one surafce compared <br> to the other (see Situation) <br> - UNDECIDED otherwise. <br>
If one of the transition is TOUCH or UNDECIDED, the other
one has got the same value.
IntPatch_IType IntPatch_Line::typ [protected] |