Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IntPatch_WLine Class Reference

Definition of set of points as a result of the intersection
between 2 parametrised patches.

#include <IntPatch_WLine.hxx>

Inheritance diagram for IntPatch_WLine:
Inheritance graph
[legend]

Public Member Functions

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang, const IntSurf_TypeTrans Trans1, const IntSurf_TypeTrans Trans2)
 Creates a WLine as an intersection when the
transitions are In or Out.

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang, const IntSurf_Situation Situ1, const IntSurf_Situation Situ2)
 Creates a WLine as an intersection when the
transitions are Touch.

 IntPatch_WLine (const Handle< IntSurf_LineOn2S > &Line, const Standard_Boolean Tang)
 Creates a WLine as an intersection when the
transitions are Undecided.

void AddVertex (const IntPatch_Point &Pnt)
 Adds a vertex in the list.

void SetPoint (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Set the Point of index <Index> in the LineOn2S

void Replace (const Standard_Integer Index, const IntPatch_Point &Pnt)
 Replaces the element of range Index in the list
of points.
The exception OutOfRange is raised when
Index <= 0 or Index > NbVertex.

void SetFirstPoint (const Standard_Integer IndFirst)
void SetLastPoint (const Standard_Integer IndLast)
Standard_Integer NbPnts () const
 Returns the number of intersection points.

const IntSurf_PntOn2SPoint (const Standard_Integer Index) const
 Returns the intersection point of range Index.

Standard_Boolean HasFirstPoint () const
 Returns True if the line has a known First point.
This point is given by the method FirstPoint().

Standard_Boolean HasLastPoint () const
 Returns True if the line has a known Last point.
This point is given by the method LastPoint().

const IntPatch_PointFirstPoint () const
 Returns the Point corresponding to the FirstPoint.

const IntPatch_PointLastPoint () const
 Returns the Point corresponding to the LastPoint.

const IntPatch_PointFirstPoint (Standard_Integer &Indfirst) const
 Returns the Point corresponding to the FirstPoint.
Indfirst is the index of the first in the list
of vertices.

const IntPatch_PointLastPoint (Standard_Integer &Indlast) const
 Returns the Point corresponding to the LastPoint.
Indlast is the index of the last in the list
of vertices.

Standard_Integer NbVertex () const
const IntPatch_PointVertex (const Standard_Integer Index) const
 Returns the vertex of range Index on the line.

void ComputeVertexParameters (const Standard_Real Tol)
 Set the parameters of all the vertex on the line.
if a vertex is already in the line,
its parameter is modified
else a new point in the line is inserted.

Handle_IntSurf_LineOn2S Curve () const
Standard_Boolean IsOutSurf1Box (const gp_Pnt2d &P1)
Standard_Boolean IsOutSurf2Box (const gp_Pnt2d &P1)
Standard_Boolean IsOutBox (const gp_Pnt &P)
void SetPeriod (const Standard_Real pu1, const Standard_Real pv1, const Standard_Real pu2, const Standard_Real pv2)
Standard_Real U1Period () const
Standard_Real V1Period () const
Standard_Real U2Period () const
Standard_Real V2Period () const
void SetArcOnS1 (const Handle< Adaptor2d_HCurve2d > &A)
Standard_Boolean HasArcOnS1 () const
const Handle_Adaptor2d_HCurve2d & GetArcOnS1 () const
void SetArcOnS2 (const Handle< Adaptor2d_HCurve2d > &A)
Standard_Boolean HasArcOnS2 () const
const Handle_Adaptor2d_HCurve2d & GetArcOnS2 () const
void Dump () const

Constructor & Destructor Documentation


Member Function Documentation

Handle_IntSurf_LineOn2S IntPatch_WLine::Curve ( ) const
const Handle_Adaptor2d_HCurve2d& IntPatch_WLine::GetArcOnS1 ( ) const
const Handle_Adaptor2d_HCurve2d& IntPatch_WLine::GetArcOnS2 ( ) const

The documentation for this class was generated from the following file: