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

ModelingAlgorithms
TKGeomAlgo
Intf


Intf_SectionLine Class Reference

Describe a polyline of intersection between two
polyhedra as a sequence of points of intersection.
.

#include <Intf_SectionLine.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_Integer NumberOfPoints () const
 Returns number of points in this SectionLine.
.
Standard_EXPORT const Intf_SectionPointGetPoint (const Standard_Integer Index) const
 Gives the point of intersection of address <index> in the
SectionLine.

.
Standard_EXPORT Standard_Boolean IsClosed () const
 Returns True if the SectionLine is closed.
.
Standard_EXPORT Standard_Boolean Contains (const Intf_SectionPoint &ThePI) const
 Returns True if ThePI is in the SectionLine <me>.
.
Standard_EXPORT Standard_Integer IsEnd (const Intf_SectionPoint &ThePI) const
 Checks if <thepi> is an end of the SectionLine. Returns 1
for the beginning, 2 for the end, otherwise 0.
.
Standard_EXPORT Standard_Boolean IsEqual (const Intf_SectionLine &Other) const
 Compares two SectionLines.

.
Standard_Boolean operator== (const Intf_SectionLine &Other) const
Standard_EXPORT Intf_SectionLine ()
 Constructs an empty SectionLine.
.
Standard_EXPORT Intf_SectionLine (const Intf_SectionLine &Other)
 Copies a SectionLine.
.
Standard_EXPORT void Append (const Intf_SectionPoint &Pi)
 Adds a point at the end of the SectionLine.
.
Standard_EXPORT void Append (Intf_SectionLine &LS)
 Concatenates the SectionLine <ls> at the end of the
SectionLine <me>.
.
Standard_EXPORT void Prepend (const Intf_SectionPoint &Pi)
 Adds a point to the beginning of the SectionLine <me>.
.
Standard_EXPORT void Prepend (Intf_SectionLine &LS)
 Concatenates a SectionLine <ls> at the beginning of the
SectionLine <me>.
.
Standard_EXPORT void Reverse ()
 Reverses the order of the elements of the SectionLine.
.
Standard_EXPORT void Close ()
 Closes the SectionLine.
.
Standard_EXPORT void Dump (const Standard_Integer Indent) const

Private Attributes

Intf_SeqOfSectionPoint myPoints
Standard_Boolean closed


Constructor & Destructor Documentation

Standard_EXPORT Intf_SectionLine::Intf_SectionLine  ) 
 

Standard_EXPORT Intf_SectionLine::Intf_SectionLine const Intf_SectionLine Other  ) 
 


Member Function Documentation

Standard_EXPORT void Intf_SectionLine::Append Intf_SectionLine LS  ) 
 

Standard_EXPORT void Intf_SectionLine::Append const Intf_SectionPoint Pi  ) 
 

Standard_EXPORT void Intf_SectionLine::Close  ) 
 

Standard_EXPORT Standard_Boolean Intf_SectionLine::Contains const Intf_SectionPoint ThePI  )  const
 

Standard_EXPORT void Intf_SectionLine::Dump const Standard_Integer  Indent  )  const
 

Standard_EXPORT const Intf_SectionPoint& Intf_SectionLine::GetPoint const Standard_Integer  Index  )  const
 

Standard_EXPORT Standard_Boolean Intf_SectionLine::IsClosed  )  const
 

Standard_EXPORT Standard_Integer Intf_SectionLine::IsEnd const Intf_SectionPoint ThePI  )  const
 

Standard_EXPORT Standard_Boolean Intf_SectionLine::IsEqual const Intf_SectionLine Other  )  const
 

Standard_Integer Intf_SectionLine::NumberOfPoints  )  const [inline]
 

void Intf_SectionLine::operator delete void *  anAddress  )  [inline]
 

void* Intf_SectionLine::operator new size_t  size  )  [inline]
 

void* Intf_SectionLine::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_Boolean Intf_SectionLine::operator== const Intf_SectionLine Other  )  const [inline]
 

Standard_EXPORT void Intf_SectionLine::Prepend Intf_SectionLine LS  ) 
 

Standard_EXPORT void Intf_SectionLine::Prepend const Intf_SectionPoint Pi  ) 
 

Standard_EXPORT void Intf_SectionLine::Reverse  ) 
 


Field Documentation

Standard_Boolean Intf_SectionLine::closed [private]
 

Intf_SeqOfSectionPoint Intf_SectionLine::myPoints [private]
 


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