OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
IntPatch


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
- 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 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.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT 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.
.
Standard_EXPORT IntPatch_Line (const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 To initialize the fields, when the transitions
are Touch.
.
Standard_EXPORT IntPatch_Line (const Standard_Boolean Tang)
 To initialize the fields, when the transitions
are Undecided.
.

Protected Attributes

IntPatch_IType typ

Private Attributes

Standard_Boolean tg
IntSurf_TypeTrans tS1
IntSurf_TypeTrans tS2
IntSurf_Situation sit1
IntSurf_Situation sit2
Standard_Boolean uS1
Standard_Boolean vS1
Standard_Boolean uS2
Standard_Boolean vS2

Constructor & Destructor Documentation

Standard_EXPORT IntPatch_Line::IntPatch_Line const Standard_Boolean  Tang,
const IntSurf_TypeTrans  Trans1,
const IntSurf_TypeTrans  Trans2
[protected]
 

Standard_EXPORT IntPatch_Line::IntPatch_Line const Standard_Boolean  Tang,
const IntSurf_Situation  Situ1,
const IntSurf_Situation  Situ2
[protected]
 

Standard_EXPORT IntPatch_Line::IntPatch_Line const Standard_Boolean  Tang  )  [protected]
 


Member Function Documentation

IntPatch_IType IntPatch_Line::ArcType  )  const [inline]
 

Standard_EXPORT const IntPatch_Line::Handle Standard_Type   )  const
 

Reimplemented in IntPatch_TheALineOfIntersection, IntPatch_TheGLineOfIntersection, IntPatch_TheRLineOfIntersection, and IntPatch_TheWLineOfIntersection.

Standard_Boolean IntPatch_Line::IsTangent  )  const [inline]
 

Standard_Boolean IntPatch_Line::IsUIsoOnS1  )  const [inline]
 

Standard_Boolean IntPatch_Line::IsUIsoOnS2  )  const [inline]
 

Standard_Boolean IntPatch_Line::IsVIsoOnS1  )  const [inline]
 

Standard_Boolean IntPatch_Line::IsVIsoOnS2  )  const [inline]
 

void IntPatch_Line::SetValue const Standard_Boolean  Uiso1,
const Standard_Boolean  Viso1,
const Standard_Boolean  Uiso2,
const Standard_Boolean  Viso2
[inline]
 

IntSurf_Situation IntPatch_Line::SituationS1  )  const [inline]
 

IntSurf_Situation IntPatch_Line::SituationS2  )  const [inline]
 

IntSurf_TypeTrans IntPatch_Line::TransitionOnS1  )  const [inline]
 

IntSurf_TypeTrans IntPatch_Line::TransitionOnS2  )  const [inline]
 


Field Documentation

IntSurf_Situation IntPatch_Line::sit1 [private]
 

IntSurf_Situation IntPatch_Line::sit2 [private]
 

Standard_Boolean IntPatch_Line::tg [private]
 

IntSurf_TypeTrans IntPatch_Line::tS1 [private]
 

IntSurf_TypeTrans IntPatch_Line::tS2 [private]
 

IntPatch_IType IntPatch_Line::typ [protected]
 

Standard_Boolean IntPatch_Line::uS1 [private]
 

Standard_Boolean IntPatch_Line::uS2 [private]
 

Standard_Boolean IntPatch_Line::vS1 [private]
 

Standard_Boolean IntPatch_Line::vS2 [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:42:13 2008 for OpenCASCADE by  doxygen 1.4.1