Open CASCADE Technology  7.4.0
Public Member Functions

Intf_SectionPoint Class Reference

Describes an intersection point between polygons and polyedra. More...

#include <Intf_SectionPoint.hxx>

Public Member Functions

const gp_PntPnt () 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
 

Detailed Description

Describes an intersection point between polygons and polyedra.

Constructor & Destructor Documentation

◆ Intf_SectionPoint() [1/3]

Intf_SectionPoint::Intf_SectionPoint ( )

◆ Intf_SectionPoint() [2/3]

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() [3/3]

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.

Member Function Documentation

◆ Dump()

void Intf_SectionPoint::Dump ( const Standard_Integer  Indent) const

◆ Incidence()

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).

◆ InfoFirst() [1/2]

void Intf_SectionPoint::InfoFirst ( Intf_PIType Dim,
Standard_Integer Add1,
Standard_Integer Add2,
Standard_Real Param 
) const

◆ InfoFirst() [2/2]

void Intf_SectionPoint::InfoFirst ( Intf_PIType Dim,
Standard_Integer Addr,
Standard_Real Param 
) const

Gives the datas about the first argument of the Interference.

◆ InfoSecond() [1/2]

void Intf_SectionPoint::InfoSecond ( Intf_PIType Dim,
Standard_Integer Add1,
Standard_Integer Add2,
Standard_Real Param 
) const

◆ InfoSecond() [2/2]

void Intf_SectionPoint::InfoSecond ( Intf_PIType Dim,
Standard_Integer Addr,
Standard_Real Param 
) const

Gives the datas about the second argument of the Interference.

◆ IsEqual()

Standard_Boolean Intf_SectionPoint::IsEqual ( const Intf_SectionPoint Other) const

Returns True if the two SectionPoint have the same logical informations.

◆ IsOnSameEdge()

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.

◆ Merge()

void Intf_SectionPoint::Merge ( Intf_SectionPoint Other)

Merges two SectionPoints.

◆ operator==()

Standard_Boolean Intf_SectionPoint::operator== ( const Intf_SectionPoint Other) const
inline

◆ ParamOnFirst()

Standard_Real Intf_SectionPoint::ParamOnFirst ( ) const

Returns the cumulated Parameter of the SectionPoint on the first element.

◆ ParamOnSecond()

Standard_Real Intf_SectionPoint::ParamOnSecond ( ) const

Returns the cumulated Parameter of the section point on the second element.

◆ Pnt()

const gp_Pnt& Intf_SectionPoint::Pnt ( ) const

Returns the location of the SectionPoint.

◆ TypeOnFirst()

Intf_PIType Intf_SectionPoint::TypeOnFirst ( ) const

Returns the type of the section point on the first element.

◆ TypeOnSecond()

Intf_PIType Intf_SectionPoint::TypeOnSecond ( ) const

Returns the type of the section point on the second element.


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