Describe a polyline of intersection between two polyhedra as a sequence of points of intersection. More...
#include <Intf_SectionLine.hxx>
Public Member Functions | |
| Standard_Integer | NumberOfPoints () const |
| Returns number of points in this SectionLine. | |
| const Intf_SectionPoint & | GetPoint (const Standard_Integer Index) const |
| Gives the point of intersection of address <Index> in the SectionLine. | |
| Standard_Boolean | IsClosed () const |
| Returns True if the SectionLine is closed. | |
| Standard_Boolean | Contains (const Intf_SectionPoint &ThePI) const |
| Returns True if ThePI is in the SectionLine <me>. | |
| 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_Boolean | IsEqual (const Intf_SectionLine &Other) const |
| Compares two SectionLines. | |
| Standard_Boolean | operator== (const Intf_SectionLine &Other) const |
| Intf_SectionLine () | |
| Constructs an empty SectionLine. | |
| Intf_SectionLine (const Intf_SectionLine &Other) | |
| Copies a SectionLine. | |
| Intf_SectionLine & | operator= (const Intf_SectionLine &theOther) |
| Assignment. | |
| void | Append (const Intf_SectionPoint &Pi) |
| Adds a point at the end of the SectionLine. | |
| void | Append (Intf_SectionLine &LS) |
| Concatenates the SectionLine <LS> at the end of the SectionLine <me>. | |
| void | Prepend (const Intf_SectionPoint &Pi) |
| Adds a point to the beginning of the SectionLine <me>. | |
| void | Prepend (Intf_SectionLine &LS) |
| Concatenates a SectionLine <LS> at the beginning of the SectionLine <me>. | |
| void | Reverse () |
| Reverses the order of the elements of the SectionLine. | |
| void | Close () |
| Closes the SectionLine. | |
| void | Dump (const Standard_Integer Indent) const |
Describe a polyline of intersection between two polyhedra as a sequence of points of intersection.
| Intf_SectionLine::Intf_SectionLine | ( | ) |
Constructs an empty SectionLine.
| Intf_SectionLine::Intf_SectionLine | ( | const Intf_SectionLine & | Other | ) |
Copies a SectionLine.
| void Intf_SectionLine::Append | ( | const Intf_SectionPoint & | Pi | ) |
Adds a point at the end of the SectionLine.
| void Intf_SectionLine::Append | ( | Intf_SectionLine & | LS | ) |
Concatenates the SectionLine <LS> at the end of the SectionLine <me>.
| void Intf_SectionLine::Close | ( | ) |
Closes the SectionLine.
| Standard_Boolean Intf_SectionLine::Contains | ( | const Intf_SectionPoint & | ThePI | ) | const |
Returns True if ThePI is in the SectionLine <me>.
| void Intf_SectionLine::Dump | ( | const Standard_Integer | Indent | ) | const |
| const Intf_SectionPoint & Intf_SectionLine::GetPoint | ( | const Standard_Integer | Index | ) | const |
Gives the point of intersection of address <Index> in the SectionLine.
| Standard_Boolean Intf_SectionLine::IsClosed | ( | ) | const |
Returns True if the SectionLine is closed.
| Standard_Integer Intf_SectionLine::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_Boolean Intf_SectionLine::IsEqual | ( | const Intf_SectionLine & | Other | ) | const |
Compares two SectionLines.
| Standard_Integer Intf_SectionLine::NumberOfPoints | ( | ) | const |
Returns number of points in this SectionLine.
|
inline |
Assignment.
|
inline |
| void Intf_SectionLine::Prepend | ( | const Intf_SectionPoint & | Pi | ) |
Adds a point to the beginning of the SectionLine <me>.
| void Intf_SectionLine::Prepend | ( | Intf_SectionLine & | LS | ) |
Concatenates a SectionLine <LS> at the beginning of the SectionLine <me>.
| void Intf_SectionLine::Reverse | ( | ) |
Reverses the order of the elements of the SectionLine.