Open CASCADE Technology 7.8.2.dev
IntPatch_TheIWLineOfTheIWalking Class Reference

#include <IntPatch_TheIWLineOfTheIWalking.hxx>

Inheritance diagram for IntPatch_TheIWLineOfTheIWalking:

Public Member Functions

 IntPatch_TheIWLineOfTheIWalking (const IntSurf_Allocator &theAllocator=0)
 
void Reverse ()
 reverse the points in the line. Hasfirst, HasLast are kept.
 
void Cut (const Standard_Integer Index)
 Cut the line at the point of rank Index.
 
void AddPoint (const IntSurf_PntOn2S &P)
 Add a point in the line.
 
void AddStatusFirst (const Standard_Boolean Closed, const Standard_Boolean HasFirst)
 
void AddStatusFirst (const Standard_Boolean Closed, const Standard_Boolean HasLast, const Standard_Integer Index, const IntSurf_PathPoint &P)
 
void AddStatusFirstLast (const Standard_Boolean Closed, const Standard_Boolean HasFirst, const Standard_Boolean HasLast)
 
void AddStatusLast (const Standard_Boolean HasLast)
 
void AddStatusLast (const Standard_Boolean HasLast, const Standard_Integer Index, const IntSurf_PathPoint &P)
 
void AddIndexPassing (const Standard_Integer Index)
 associer a l 'indice du point sur la ligne l'indice du point passant dans l'iterateur de depart
 
void SetTangentVector (const gp_Vec &V, const Standard_Integer Index)
 
void SetTangencyAtBegining (const Standard_Boolean IsTangent)
 
void SetTangencyAtEnd (const Standard_Boolean IsTangent)
 
Standard_Integer NbPoints () const
 Returns the number of points of the line (including first point and end point : see HasLastPoint and HasFirstPoint).
 
const IntSurf_PntOn2SValue (const Standard_Integer Index) const
 Returns the point of range Index. If index <= 0 or Index > NbPoints, an exception is raised.
 
const Handle< IntSurf_LineOn2S > & Line () const
 Returns the LineOn2S contained in the walking line.
 
Standard_Boolean IsClosed () const
 Returns True if the line is closed.
 
Standard_Boolean HasFirstPoint () const
 Returns True if the first point of the line is a marching point . when is HasFirstPoint==False ,the line begins on the natural bound of the surface.the line can be too long.
 
Standard_Boolean HasLastPoint () const
 Returns True if the end point of the line is a marching point (Point from IntWS). when is HasFirstPoint==False ,the line ends on the natural bound of the surface.the line can be too long.
 
const IntSurf_PathPointFirstPoint () const
 Returns the first point of the line when it is a marching point. An exception is raised if HasFirstPoint returns False.
 
Standard_Integer FirstPointIndex () const
 Returns the Index of first point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasFirstPoint returns False.
 
const IntSurf_PathPointLastPoint () const
 Returns the last point of the line when it is a marching point. An exception is raised if HasLastPoint returns False.
 
Standard_Integer LastPointIndex () const
 Returns the index of last point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasLastPoint returns False.
 
Standard_Integer NbPassingPoint () const
 returns the number of points belonging to Pnts1 which are passing point.
 
void PassingPoint (const Standard_Integer Index, Standard_Integer &IndexLine, Standard_Integer &IndexPnts) const
 returns the index of the point belonging to the line which is associated to the passing point belonging to Pnts1 an exception is raised if Index > NbPassingPoint()
 
const gp_VecTangentVector (Standard_Integer &Index) const
 
Standard_Boolean IsTangentAtBegining () const
 
Standard_Boolean IsTangentAtEnd () const
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor.
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing.
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter.
 
virtual ~Standard_Transient ()
 Destructor must be virtual.
 
virtual const opencascade::handle< Standard_Type > & DynamicType () const
 Returns a type descriptor about this object.
 
Standard_Boolean IsInstance (const opencascade::handle< Standard_Type > &theType) const
 Returns a true value if this is an instance of Type.
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName.
 
Standard_Boolean IsKind (const opencascade::handle< Standard_Type > &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
 
Standard_TransientThis () const
 Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
 
Standard_Integer GetRefCount () const noexcept
 Get the reference counter of this object.
 
void IncrementRefCounter () noexcept
 Increments the reference counter of this object.
 
Standard_Integer DecrementRefCounter () noexcept
 Decrements the reference counter of this object; returns the decremented value.
 
virtual void Delete () const
 Memory deallocator for transient classes.
 

Additional Inherited Members

- Public Types inherited from Standard_Transient
typedef void base_type
 Returns a type descriptor about this object.
 
- Static Public Member Functions inherited from Standard_Transient
static constexpr const char * get_type_name ()
 Returns a type descriptor about this object.
 
static const opencascade::handle< Standard_Type > & get_type_descriptor ()
 Returns type descriptor of Standard_Transient class.
 

Constructor & Destructor Documentation

◆ IntPatch_TheIWLineOfTheIWalking()

IntPatch_TheIWLineOfTheIWalking::IntPatch_TheIWLineOfTheIWalking ( const IntSurf_Allocator & theAllocator = 0)

Member Function Documentation

◆ AddIndexPassing()

void IntPatch_TheIWLineOfTheIWalking::AddIndexPassing ( const Standard_Integer Index)

associer a l 'indice du point sur la ligne l'indice du point passant dans l'iterateur de depart

◆ AddPoint()

void IntPatch_TheIWLineOfTheIWalking::AddPoint ( const IntSurf_PntOn2S & P)

Add a point in the line.

◆ AddStatusFirst() [1/2]

void IntPatch_TheIWLineOfTheIWalking::AddStatusFirst ( const Standard_Boolean Closed,
const Standard_Boolean HasFirst )

◆ AddStatusFirst() [2/2]

void IntPatch_TheIWLineOfTheIWalking::AddStatusFirst ( const Standard_Boolean Closed,
const Standard_Boolean HasLast,
const Standard_Integer Index,
const IntSurf_PathPoint & P )

◆ AddStatusFirstLast()

void IntPatch_TheIWLineOfTheIWalking::AddStatusFirstLast ( const Standard_Boolean Closed,
const Standard_Boolean HasFirst,
const Standard_Boolean HasLast )

◆ AddStatusLast() [1/2]

void IntPatch_TheIWLineOfTheIWalking::AddStatusLast ( const Standard_Boolean HasLast)

◆ AddStatusLast() [2/2]

void IntPatch_TheIWLineOfTheIWalking::AddStatusLast ( const Standard_Boolean HasLast,
const Standard_Integer Index,
const IntSurf_PathPoint & P )

◆ Cut()

void IntPatch_TheIWLineOfTheIWalking::Cut ( const Standard_Integer Index)

Cut the line at the point of rank Index.

◆ FirstPoint()

const IntSurf_PathPoint & IntPatch_TheIWLineOfTheIWalking::FirstPoint ( ) const

Returns the first point of the line when it is a marching point. An exception is raised if HasFirstPoint returns False.

◆ FirstPointIndex()

Standard_Integer IntPatch_TheIWLineOfTheIWalking::FirstPointIndex ( ) const

Returns the Index of first point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasFirstPoint returns False.

◆ HasFirstPoint()

Standard_Boolean IntPatch_TheIWLineOfTheIWalking::HasFirstPoint ( ) const

Returns True if the first point of the line is a marching point . when is HasFirstPoint==False ,the line begins on the natural bound of the surface.the line can be too long.

◆ HasLastPoint()

Standard_Boolean IntPatch_TheIWLineOfTheIWalking::HasLastPoint ( ) const

Returns True if the end point of the line is a marching point (Point from IntWS). when is HasFirstPoint==False ,the line ends on the natural bound of the surface.the line can be too long.

◆ IsClosed()

Standard_Boolean IntPatch_TheIWLineOfTheIWalking::IsClosed ( ) const

Returns True if the line is closed.

◆ IsTangentAtBegining()

Standard_Boolean IntPatch_TheIWLineOfTheIWalking::IsTangentAtBegining ( ) const

◆ IsTangentAtEnd()

Standard_Boolean IntPatch_TheIWLineOfTheIWalking::IsTangentAtEnd ( ) const

◆ LastPoint()

const IntSurf_PathPoint & IntPatch_TheIWLineOfTheIWalking::LastPoint ( ) const

Returns the last point of the line when it is a marching point. An exception is raised if HasLastPoint returns False.

◆ LastPointIndex()

Standard_Integer IntPatch_TheIWLineOfTheIWalking::LastPointIndex ( ) const

Returns the index of last point of the line when it is a marching point.This index is the index in the PointStartIterator. An exception is raised if HasLastPoint returns False.

◆ Line()

const Handle< IntSurf_LineOn2S > & IntPatch_TheIWLineOfTheIWalking::Line ( ) const

Returns the LineOn2S contained in the walking line.

◆ NbPassingPoint()

Standard_Integer IntPatch_TheIWLineOfTheIWalking::NbPassingPoint ( ) const

returns the number of points belonging to Pnts1 which are passing point.

◆ NbPoints()

Standard_Integer IntPatch_TheIWLineOfTheIWalking::NbPoints ( ) const

Returns the number of points of the line (including first point and end point : see HasLastPoint and HasFirstPoint).

◆ PassingPoint()

void IntPatch_TheIWLineOfTheIWalking::PassingPoint ( const Standard_Integer Index,
Standard_Integer & IndexLine,
Standard_Integer & IndexPnts ) const

returns the index of the point belonging to the line which is associated to the passing point belonging to Pnts1 an exception is raised if Index > NbPassingPoint()

◆ Reverse()

void IntPatch_TheIWLineOfTheIWalking::Reverse ( )

reverse the points in the line. Hasfirst, HasLast are kept.

◆ SetTangencyAtBegining()

void IntPatch_TheIWLineOfTheIWalking::SetTangencyAtBegining ( const Standard_Boolean IsTangent)

◆ SetTangencyAtEnd()

void IntPatch_TheIWLineOfTheIWalking::SetTangencyAtEnd ( const Standard_Boolean IsTangent)

◆ SetTangentVector()

void IntPatch_TheIWLineOfTheIWalking::SetTangentVector ( const gp_Vec & V,
const Standard_Integer Index )

◆ TangentVector()

const gp_Vec & IntPatch_TheIWLineOfTheIWalking::TangentVector ( Standard_Integer & Index) const

◆ Value()

const IntSurf_PntOn2S & IntPatch_TheIWLineOfTheIWalking::Value ( const Standard_Integer Index) const

Returns the point of range Index. If index <= 0 or Index > NbPoints, an exception is raised.


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