Open CASCADE Technology 7.8.0
|
Describes a zone of tangence between polygons or polyhedra as a sequence of points of intersection. More...
#include <Intf_TangentZone.hxx>
Public Member Functions | |
Standard_Integer | NumberOfPoints () const |
Returns number of SectionPoint in this TangentZone. | |
const Intf_SectionPoint & | GetPoint (const Standard_Integer Index) const |
Gives the SectionPoint of address <Index> in the TangentZone. | |
Standard_Boolean | IsEqual (const Intf_TangentZone &Other) const |
Compares two TangentZones. | |
Standard_Boolean | operator== (const Intf_TangentZone &Other) const |
Standard_Boolean | Contains (const Intf_SectionPoint &ThePI) const |
Checks if <ThePI> is in TangentZone. | |
void | ParamOnFirst (Standard_Real ¶Min, Standard_Real ¶Max) const |
Gives the parameter range of the TangentZone on the first argument of the Interference. (Usable only for polygon) | |
void | ParamOnSecond (Standard_Real ¶Min, Standard_Real ¶Max) const |
Gives the parameter range of the TangentZone on the second argument of the Interference. (Usable only for polygon) | |
void | InfoFirst (Standard_Integer &segMin, Standard_Real ¶Min, Standard_Integer &segMax, Standard_Real ¶Max) const |
Gives information about the first argument of the Interference. (Usable only for polygon) | |
void | InfoSecond (Standard_Integer &segMin, Standard_Real ¶Min, Standard_Integer &segMax, Standard_Real ¶Max) const |
Gives information about the second argument of the Interference. (Usable only for polygon) | |
Standard_Boolean | RangeContains (const Intf_SectionPoint &ThePI) const |
Returns True if <ThePI> is in the parameter range of the TangentZone. | |
Standard_Boolean | HasCommonRange (const Intf_TangentZone &Other) const |
Returns True if the TangentZone <Other> has a common part with <me>. | |
Intf_TangentZone () | |
Builds an empty tangent zone. | |
void | Append (const Intf_SectionPoint &Pi) |
Adds a SectionPoint to the TangentZone. | |
void | Append (const Intf_TangentZone &Tzi) |
Adds the TangentZone <Tzi> to <me>. | |
Standard_Boolean | Insert (const Intf_SectionPoint &Pi) |
Inserts a SectionPoint in the TangentZone. | |
void | PolygonInsert (const Intf_SectionPoint &Pi) |
Inserts a point in the polygonal TangentZone. | |
void | InsertBefore (const Standard_Integer Index, const Intf_SectionPoint &Pi) |
Inserts a SectionPoint before <Index> in the TangentZone. | |
void | InsertAfter (const Standard_Integer Index, const Intf_SectionPoint &Pi) |
Inserts a SectionPoint after <Index> in the TangentZone. | |
void | Dump (const Standard_Integer Indent) const |
Describes a zone of tangence between polygons or polyhedra as a sequence of points of intersection.
Intf_TangentZone::Intf_TangentZone | ( | ) |
Builds an empty tangent zone.
void Intf_TangentZone::Append | ( | const Intf_SectionPoint & | Pi | ) |
Adds a SectionPoint to the TangentZone.
void Intf_TangentZone::Append | ( | const Intf_TangentZone & | Tzi | ) |
Adds the TangentZone <Tzi> to <me>.
Standard_Boolean Intf_TangentZone::Contains | ( | const Intf_SectionPoint & | ThePI | ) | const |
Checks if <ThePI> is in TangentZone.
void Intf_TangentZone::Dump | ( | const Standard_Integer | Indent | ) | const |
const Intf_SectionPoint & Intf_TangentZone::GetPoint | ( | const Standard_Integer | Index | ) | const |
Gives the SectionPoint of address <Index> in the TangentZone.
Standard_Boolean Intf_TangentZone::HasCommonRange | ( | const Intf_TangentZone & | Other | ) | const |
Returns True if the TangentZone <Other> has a common part with <me>.
void Intf_TangentZone::InfoFirst | ( | Standard_Integer & | segMin, |
Standard_Real & | paraMin, | ||
Standard_Integer & | segMax, | ||
Standard_Real & | paraMax | ||
) | const |
Gives information about the first argument of the Interference. (Usable only for polygon)
void Intf_TangentZone::InfoSecond | ( | Standard_Integer & | segMin, |
Standard_Real & | paraMin, | ||
Standard_Integer & | segMax, | ||
Standard_Real & | paraMax | ||
) | const |
Gives information about the second argument of the Interference. (Usable only for polygon)
Standard_Boolean Intf_TangentZone::Insert | ( | const Intf_SectionPoint & | Pi | ) |
Inserts a SectionPoint in the TangentZone.
void Intf_TangentZone::InsertAfter | ( | const Standard_Integer | Index, |
const Intf_SectionPoint & | Pi | ||
) |
Inserts a SectionPoint after <Index> in the TangentZone.
void Intf_TangentZone::InsertBefore | ( | const Standard_Integer | Index, |
const Intf_SectionPoint & | Pi | ||
) |
Inserts a SectionPoint before <Index> in the TangentZone.
Standard_Boolean Intf_TangentZone::IsEqual | ( | const Intf_TangentZone & | Other | ) | const |
Compares two TangentZones.
Standard_Integer Intf_TangentZone::NumberOfPoints | ( | ) | const |
Returns number of SectionPoint in this TangentZone.
|
inline |
void Intf_TangentZone::ParamOnFirst | ( | Standard_Real & | paraMin, |
Standard_Real & | paraMax | ||
) | const |
Gives the parameter range of the TangentZone on the first argument of the Interference. (Usable only for polygon)
void Intf_TangentZone::ParamOnSecond | ( | Standard_Real & | paraMin, |
Standard_Real & | paraMax | ||
) | const |
Gives the parameter range of the TangentZone on the second argument of the Interference. (Usable only for polygon)
void Intf_TangentZone::PolygonInsert | ( | const Intf_SectionPoint & | Pi | ) |
Inserts a point in the polygonal TangentZone.
Standard_Boolean Intf_TangentZone::RangeContains | ( | const Intf_SectionPoint & | ThePI | ) | const |
Returns True if <ThePI> is in the parameter range of the TangentZone.