Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
IntPatch_Line Class Reference

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>

Inheritance diagram for IntPatch_Line:
Inheritance graph
[legend]

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

Constructor & Destructor Documentation

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]

Member Function Documentation

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
IntSurf_TypeTrans IntPatch_Line::TransitionOnS1 ( ) const
  • TOUCH, if it is possible to use the 2nd derivatives
    to determine the position of one surafce compared
    to the other (see Situation)
  • UNDECIDED otherwise.

    If one of the transition is TOUCH or UNDECIDED, the other
    one has got the same value.
IntSurf_TypeTrans IntPatch_Line::TransitionOnS2 ( ) const

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines