Open CASCADE Technology
7.3.0
|
Describes an intersection point between polygons and polyedra. More...
#include <Intf_SectionPoint.hxx>
Public Member Functions | |
const gp_Pnt & | Pnt () const |
Returns the location of the SectionPoint. More... | |
Standard_Real | ParamOnFirst () const |
Returns the cumulated Parameter of the SectionPoint on the first element. More... | |
Standard_Real | ParamOnSecond () const |
Returns the cumulated Parameter of the section point on the second element. More... | |
Intf_PIType | TypeOnFirst () const |
Returns the type of the section point on the first element. More... | |
Intf_PIType | TypeOnSecond () const |
Returns the type of the section point on the second element. More... | |
void | InfoFirst (Intf_PIType &Dim, Standard_Integer &Add1, Standard_Integer &Add2, Standard_Real &Param) const |
void | InfoFirst (Intf_PIType &Dim, Standard_Integer &Addr, Standard_Real &Param) const |
Gives the datas about the first argument of the Interference. More... | |
void | InfoSecond (Intf_PIType &Dim, Standard_Integer &Add1, Standard_Integer &Add2, Standard_Real &Param) const |
void | InfoSecond (Intf_PIType &Dim, Standard_Integer &Addr, Standard_Real &Param) const |
Gives the datas about the second argument of the Interference. More... | |
Standard_Real | Incidence () const |
Gives the incidence at this section point. The incidence between the two triangles is given by the cosine. The best incidence is 0. (PI/2). The worst is 1. (null angle). More... | |
Standard_Boolean | IsEqual (const Intf_SectionPoint &Other) const |
Returns True if the two SectionPoint have the same logical informations. More... | |
Standard_Boolean | operator== (const Intf_SectionPoint &Other) const |
Standard_Boolean | IsOnSameEdge (const Intf_SectionPoint &Other) const |
Returns True if the two SectionPoints are on the same edge of the first or the second element. More... | |
Intf_SectionPoint () | |
Intf_SectionPoint (const gp_Pnt &Where, const Intf_PIType DimeO, const Standard_Integer AddrO1, const Standard_Integer AddrO2, const Standard_Real ParamO, const Intf_PIType DimeT, const Standard_Integer AddrT1, const Standard_Integer AddrT2, const Standard_Real ParamT, const Standard_Real Incid) | |
Builds a SectionPoint with the respective dimensions (vertex edge or face) of the concerned arguments and their addresses in the Topological structure. More... | |
Intf_SectionPoint (const gp_Pnt2d &Where, const Intf_PIType DimeO, const Standard_Integer AddrO1, const Standard_Real ParamO, const Intf_PIType DimeT, const Standard_Integer AddrT1, const Standard_Real ParamT, const Standard_Real Incid) | |
Builds a SectionPoint 2d with the respective dimensions (vertex or edge) of the concerned arguments and their addresses in the Topological structure. More... | |
void | Merge (Intf_SectionPoint &Other) |
Merges two SectionPoints. More... | |
void | Dump (const Standard_Integer Indent) const |
Describes an intersection point between polygons and polyedra.
Intf_SectionPoint::Intf_SectionPoint | ( | ) |
Intf_SectionPoint::Intf_SectionPoint | ( | const gp_Pnt & | Where, |
const Intf_PIType | DimeO, | ||
const Standard_Integer | AddrO1, | ||
const Standard_Integer | AddrO2, | ||
const Standard_Real | ParamO, | ||
const Intf_PIType | DimeT, | ||
const Standard_Integer | AddrT1, | ||
const Standard_Integer | AddrT2, | ||
const Standard_Real | ParamT, | ||
const Standard_Real | Incid | ||
) |
Builds a SectionPoint with the respective dimensions (vertex edge or face) of the concerned arguments and their addresses in the Topological structure.
Intf_SectionPoint::Intf_SectionPoint | ( | const gp_Pnt2d & | Where, |
const Intf_PIType | DimeO, | ||
const Standard_Integer | AddrO1, | ||
const Standard_Real | ParamO, | ||
const Intf_PIType | DimeT, | ||
const Standard_Integer | AddrT1, | ||
const Standard_Real | ParamT, | ||
const Standard_Real | Incid | ||
) |
Builds a SectionPoint 2d with the respective dimensions (vertex or edge) of the concerned arguments and their addresses in the Topological structure.
void Intf_SectionPoint::Dump | ( | const Standard_Integer | Indent | ) | const |
Standard_Real Intf_SectionPoint::Incidence | ( | ) | const |
Gives the incidence at this section point. The incidence between the two triangles is given by the cosine. The best incidence is 0. (PI/2). The worst is 1. (null angle).
void Intf_SectionPoint::InfoFirst | ( | Intf_PIType & | Dim, |
Standard_Integer & | Add1, | ||
Standard_Integer & | Add2, | ||
Standard_Real & | Param | ||
) | const |
void Intf_SectionPoint::InfoFirst | ( | Intf_PIType & | Dim, |
Standard_Integer & | Addr, | ||
Standard_Real & | Param | ||
) | const |
Gives the datas about the first argument of the Interference.
void Intf_SectionPoint::InfoSecond | ( | Intf_PIType & | Dim, |
Standard_Integer & | Add1, | ||
Standard_Integer & | Add2, | ||
Standard_Real & | Param | ||
) | const |
void Intf_SectionPoint::InfoSecond | ( | Intf_PIType & | Dim, |
Standard_Integer & | Addr, | ||
Standard_Real & | Param | ||
) | const |
Gives the datas about the second argument of the Interference.
Standard_Boolean Intf_SectionPoint::IsEqual | ( | const Intf_SectionPoint & | Other | ) | const |
Returns True if the two SectionPoint have the same logical informations.
Standard_Boolean Intf_SectionPoint::IsOnSameEdge | ( | const Intf_SectionPoint & | Other | ) | const |
Returns True if the two SectionPoints are on the same edge of the first or the second element.
void Intf_SectionPoint::Merge | ( | Intf_SectionPoint & | Other | ) |
Merges two SectionPoints.
|
inline |
Standard_Real Intf_SectionPoint::ParamOnFirst | ( | ) | const |
Returns the cumulated Parameter of the SectionPoint on the first element.
Standard_Real Intf_SectionPoint::ParamOnSecond | ( | ) | const |
Returns the cumulated Parameter of the section point on the second element.
const gp_Pnt& Intf_SectionPoint::Pnt | ( | ) | const |
Returns the location of the SectionPoint.
Intf_PIType Intf_SectionPoint::TypeOnFirst | ( | ) | const |
Returns the type of the section point on the first element.
Intf_PIType Intf_SectionPoint::TypeOnSecond | ( | ) | const |
Returns the type of the section point on the second element.