Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntPatch_Point Class Reference

Definition of an intersection point between two surfaces. Such a point is contains geometrical information (see the Value method) and logical information. More...

#include <IntPatch_Point.hxx>

Public Member Functions

 IntPatch_Point ()
 Empty constructor.
 
void SetValue (const gp_Pnt &Pt, const double Tol, const bool Tangent)
 Sets the values of a point which is on no domain, when both surfaces are implicit ones. If Tangent is True, the point is a point of tangency between the surfaces.
 
void SetValue (const gp_Pnt &Pt)
 
void SetValue (const IntSurf_PntOn2S &thePOn2S)
 Sets the value of <pt> member.
 
void SetTolerance (const double Tol)
 
void SetParameters (const double U1, const double V1, const double U2, const double V2)
 Sets the values of the parameters of the point on each surface.
 
void SetParameter (const double Para)
 Set the value of the parameter on the intersection line.
 
void SetVertex (const bool OnFirst, const occ::handle< Adaptor3d_HVertex > &V)
 Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.
 
void SetArc (const bool OnFirst, const occ::handle< Adaptor2d_Curve2d > &A, const double Param, const IntSurf_Transition &TLine, const IntSurf_Transition &TArc)
 Sets the values of a point which is on one of the domain, when both surfaces are implicit ones. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.
 
void SetMultiple (const bool IsMult)
 Sets (or unsets) the point as a point on several intersection line.
 
const gp_PntValue () const
 Returns the intersection point (geometric information).
 
double ParameterOnLine () const
 This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.
 
double Tolerance () const
 This method returns the fuzziness on the point.
 
bool IsTangencyPoint () const
 Returns True if the Point is a tangency point between the surfaces. If the Point is on one of the domain (IsOnDomS1 returns True or IsOnDomS2 returns True), an exception is raised.
 
void ParametersOnS1 (double &U1, double &V1) const
 Returns the parameters on the first surface of the point.
 
void ParametersOnS2 (double &U2, double &V2) const
 Returns the parameters on the second surface of the point.
 
bool IsMultiple () const
 Returns True if the point belongs to several intersection lines.
 
bool IsOnDomS1 () const
 Returns TRUE if the point is on a boundary of the domain of the first patch.
 
bool IsVertexOnS1 () const
 Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.
 
const occ::handle< Adaptor3d_HVertex > & VertexOnS1 () const
 Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertexOnS1 returns True. Otherwise, an exception is raised.
 
const occ::handle< Adaptor2d_Curve2d > & ArcOnS1 () const
 Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS1 returns False.
 
const IntSurf_TransitionTransitionLineArc1 () const
 Returns the transition of the point on the intersection line with the arc on S1. The exception DomainError is raised if IsOnDomS1 returns False.
 
const IntSurf_TransitionTransitionOnS1 () const
 Returns the transition between the intersection line returned by the method Line and the arc on S1 returned by ArcOnS1(). The exception DomainError is raised if IsOnDomS1 returns False.
 
double ParameterOnArc1 () const
 Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS1 returns False.
 
bool IsOnDomS2 () const
 Returns TRUE if the point is on a boundary of the domain of the second patch.
 
bool IsVertexOnS2 () const
 Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.
 
const occ::handle< Adaptor3d_HVertex > & VertexOnS2 () const
 Returns the information about the point when it is on the domain of the second patch, i-e when the function IsVertexOnS2 returns True. Otherwise, an exception is raised.
 
const occ::handle< Adaptor2d_Curve2d > & ArcOnS2 () const
 Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS2 returns False.
 
const IntSurf_TransitionTransitionLineArc2 () const
 Returns the transition of the point on the intersection line with the arc on S2. The exception DomainError is raised if IsOnDomS2 returns False.
 
const IntSurf_TransitionTransitionOnS2 () const
 Returns the transition between the intersection line returned by the method Line and the arc on S2 returned by ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.
 
double ParameterOnArc2 () const
 Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.
 
const IntSurf_PntOn2SPntOn2S () const
 Returns the PntOn2S (geometric Point and the parameters)
 
void Parameters (double &U1, double &V1, double &U2, double &V2) const
 Returns the parameters on the first and on the second surface of the point.
 
void ReverseTransition ()
 
void Dump () const
 

Detailed Description

Definition of an intersection point between two surfaces. Such a point is contains geometrical information (see the Value method) and logical information.

Constructor & Destructor Documentation

◆ IntPatch_Point()

IntPatch_Point::IntPatch_Point ( )

Empty constructor.

Member Function Documentation

◆ ArcOnS1()

const occ::handle< Adaptor2d_Curve2d > & IntPatch_Point::ArcOnS1 ( ) const

Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS1 returns False.

◆ ArcOnS2()

const occ::handle< Adaptor2d_Curve2d > & IntPatch_Point::ArcOnS2 ( ) const

Returns the arc of restriction containing the vertex. The exception DomainError is raised if IsOnDomS2 returns False.

◆ Dump()

void IntPatch_Point::Dump ( ) const

◆ IsMultiple()

bool IntPatch_Point::IsMultiple ( ) const

Returns True if the point belongs to several intersection lines.

◆ IsOnDomS1()

bool IntPatch_Point::IsOnDomS1 ( ) const

Returns TRUE if the point is on a boundary of the domain of the first patch.

◆ IsOnDomS2()

bool IntPatch_Point::IsOnDomS2 ( ) const

Returns TRUE if the point is on a boundary of the domain of the second patch.

◆ IsTangencyPoint()

bool IntPatch_Point::IsTangencyPoint ( ) const

Returns True if the Point is a tangency point between the surfaces. If the Point is on one of the domain (IsOnDomS1 returns True or IsOnDomS2 returns True), an exception is raised.

◆ IsVertexOnS1()

bool IntPatch_Point::IsVertexOnS1 ( ) const

Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.

◆ IsVertexOnS2()

bool IntPatch_Point::IsVertexOnS2 ( ) const

Returns TRUE if the point is a vertex on the initial restriction facet of the first surface.

◆ ParameterOnArc1()

double IntPatch_Point::ParameterOnArc1 ( ) const

Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS1 returns False.

◆ ParameterOnArc2()

double IntPatch_Point::ParameterOnArc2 ( ) const

Returns the parameter of the point on the arc returned by the method ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.

◆ ParameterOnLine()

double IntPatch_Point::ParameterOnLine ( ) const

This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.

◆ Parameters()

void IntPatch_Point::Parameters ( double & U1,
double & V1,
double & U2,
double & V2 ) const

Returns the parameters on the first and on the second surface of the point.

◆ ParametersOnS1()

void IntPatch_Point::ParametersOnS1 ( double & U1,
double & V1 ) const

Returns the parameters on the first surface of the point.

◆ ParametersOnS2()

void IntPatch_Point::ParametersOnS2 ( double & U2,
double & V2 ) const

Returns the parameters on the second surface of the point.

◆ PntOn2S()

const IntSurf_PntOn2S & IntPatch_Point::PntOn2S ( ) const

Returns the PntOn2S (geometric Point and the parameters)

◆ ReverseTransition()

void IntPatch_Point::ReverseTransition ( )

◆ SetArc()

void IntPatch_Point::SetArc ( const bool OnFirst,
const occ::handle< Adaptor2d_Curve2d > & A,
const double Param,
const IntSurf_Transition & TLine,
const IntSurf_Transition & TArc )

Sets the values of a point which is on one of the domain, when both surfaces are implicit ones. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.

◆ SetMultiple()

void IntPatch_Point::SetMultiple ( const bool IsMult)

Sets (or unsets) the point as a point on several intersection line.

◆ SetParameter()

void IntPatch_Point::SetParameter ( const double Para)

Set the value of the parameter on the intersection line.

◆ SetParameters()

void IntPatch_Point::SetParameters ( const double U1,
const double V1,
const double U2,
const double V2 )

Sets the values of the parameters of the point on each surface.

◆ SetTolerance()

void IntPatch_Point::SetTolerance ( const double Tol)

◆ SetValue() [1/3]

void IntPatch_Point::SetValue ( const gp_Pnt & Pt)

◆ SetValue() [2/3]

void IntPatch_Point::SetValue ( const gp_Pnt & Pt,
const double Tol,
const bool Tangent )

Sets the values of a point which is on no domain, when both surfaces are implicit ones. If Tangent is True, the point is a point of tangency between the surfaces.

◆ SetValue() [3/3]

void IntPatch_Point::SetValue ( const IntSurf_PntOn2S & thePOn2S)

Sets the value of <pt> member.

◆ SetVertex()

void IntPatch_Point::SetVertex ( const bool OnFirst,
const occ::handle< Adaptor3d_HVertex > & V )

Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface. If OnFirst is True, the point is on the domain of the first patch, otherwise the point is on the domain of the second surface.

◆ Tolerance()

double IntPatch_Point::Tolerance ( ) const

This method returns the fuzziness on the point.

◆ TransitionLineArc1()

const IntSurf_Transition & IntPatch_Point::TransitionLineArc1 ( ) const

Returns the transition of the point on the intersection line with the arc on S1. The exception DomainError is raised if IsOnDomS1 returns False.

◆ TransitionLineArc2()

const IntSurf_Transition & IntPatch_Point::TransitionLineArc2 ( ) const

Returns the transition of the point on the intersection line with the arc on S2. The exception DomainError is raised if IsOnDomS2 returns False.

◆ TransitionOnS1()

const IntSurf_Transition & IntPatch_Point::TransitionOnS1 ( ) const

Returns the transition between the intersection line returned by the method Line and the arc on S1 returned by ArcOnS1(). The exception DomainError is raised if IsOnDomS1 returns False.

◆ TransitionOnS2()

const IntSurf_Transition & IntPatch_Point::TransitionOnS2 ( ) const

Returns the transition between the intersection line returned by the method Line and the arc on S2 returned by ArcOnS2. The exception DomainError is raised if IsOnDomS2 returns False.

◆ Value()

const gp_Pnt & IntPatch_Point::Value ( ) const

Returns the intersection point (geometric information).

◆ VertexOnS1()

const occ::handle< Adaptor3d_HVertex > & IntPatch_Point::VertexOnS1 ( ) const

Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertexOnS1 returns True. Otherwise, an exception is raised.

◆ VertexOnS2()

const occ::handle< Adaptor3d_HVertex > & IntPatch_Point::VertexOnS2 ( ) const

Returns the information about the point when it is on the domain of the second patch, i-e when the function IsVertexOnS2 returns True. Otherwise, an exception is raised.


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