Open CASCADE Technology 6.6.0
Public Member Functions
Intf_SectionPoint Class Reference

Describes an intersection point between polygons and
polyedra.

#include <Intf_SectionPoint.hxx>

Public Member Functions

const gp_PntPnt () const
 Returns the location of the SectionPoint.

Standard_Real ParamOnFirst () const
 Returns the cumulated Parameter of the SectionPoint on the
first element.


Standard_Real ParamOnSecond () const
 Returns the cumulated Parameter of the section point on the
second element.


Intf_PIType TypeOnFirst () const
 Returns the type of the section point on the first element.


Intf_PIType TypeOnSecond () const
 Returns the type of the section point on the second
element.


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.

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.

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

Standard_Boolean IsEqual (const Intf_SectionPoint &Other) const
 Returns True if the two SectionPoint have the same logical
informations.


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.

 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 (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 Merge (Intf_SectionPoint &Other)
 Merges two SectionPoints.

void Dump (const Standard_Integer Indent) const

Constructor & Destructor Documentation

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

Member Function Documentation

void Intf_SectionPoint::Dump ( const Standard_Integer  Indent) const
Standard_Real Intf_SectionPoint::Incidence ( ) const
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
void Intf_SectionPoint::InfoSecond ( Intf_PIType Dim,
Standard_Integer Addr,
Standard_Real Param 
) const
void Intf_SectionPoint::InfoSecond ( Intf_PIType Dim,
Standard_Integer Add1,
Standard_Integer Add2,
Standard_Real Param 
) const
Standard_Boolean Intf_SectionPoint::IsEqual ( const Intf_SectionPoint Other) const
Standard_Boolean Intf_SectionPoint::IsOnSameEdge ( const Intf_SectionPoint Other) const
void Intf_SectionPoint::Merge ( Intf_SectionPoint Other)
Standard_Boolean Intf_SectionPoint::operator== ( const Intf_SectionPoint Other) const [inline]
Standard_Real Intf_SectionPoint::ParamOnFirst ( ) const
Standard_Real Intf_SectionPoint::ParamOnSecond ( ) const
const gp_Pnt& Intf_SectionPoint::Pnt ( ) const
Intf_PIType Intf_SectionPoint::TypeOnFirst ( ) const
Intf_PIType Intf_SectionPoint::TypeOnSecond ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines