Open CASCADE Technology  7.3.0
Public Member Functions
Contap_Point Class Reference

Definition of a vertex on the contour line. Most of the time, such a point is an intersection between the contour and a restriction of the surface. When it is not tyhe method IsOnArc return False. Such a point is contains geometrical informations (see the Value method) and logical informations. More...

#include <Contap_Point.hxx>

Public Member Functions

 Contap_Point ()
 Empty constructor. More...
 
 Contap_Point (const gp_Pnt &Pt, const Standard_Real U, const Standard_Real V)
 Creates a point. More...
 
void SetValue (const gp_Pnt &Pt, const Standard_Real U, const Standard_Real V)
 Sets the values for a point. More...
 
void SetParameter (const Standard_Real Para)
 Set the value of the parameter on the intersection line. More...
 
void SetVertex (const 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. More...
 
void SetArc (const Handle< Adaptor2d_HCurve2d > &A, const Standard_Real Param, const IntSurf_Transition &TLine, const IntSurf_Transition &TArc)
 Sets the value of the arc and of the parameter on this arc of the point. More...
 
void SetMultiple ()
 
void SetInternal ()
 
const gp_PntValue () const
 Returns the intersection point (geometric information). More...
 
Standard_Real 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. More...
 
void Parameters (Standard_Real &U1, Standard_Real &V1) const
 Returns the parameters on the surface of the point. More...
 
Standard_Boolean IsOnArc () const
 Returns True when the point is an intersection between the contour and a restriction. More...
 
const Handle< Adaptor2d_HCurve2d > & Arc () const
 Returns the arc of restriction containing the vertex. More...
 
Standard_Real ParameterOnArc () const
 Returns the parameter of the point on the arc returned by the method Arc(). More...
 
const IntSurf_TransitionTransitionOnLine () const
 Returns the transition of the point on the contour. More...
 
const IntSurf_TransitionTransitionOnArc () const
 Returns the transition of the point on the arc. More...
 
Standard_Boolean IsVertex () const
 Returns TRUE if the point is a vertex on the initial restriction facet of the surface. More...
 
const Handle< Adaptor3d_HVertex > & Vertex () const
 Returns the information about the point when it is on the domain of the patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised. More...
 
Standard_Boolean IsMultiple () const
 Returns True if the point belongs to several lines. More...
 
Standard_Boolean IsInternal () const
 Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel. More...
 

Detailed Description

Definition of a vertex on the contour line. Most of the time, such a point is an intersection between the contour and a restriction of the surface. When it is not tyhe method IsOnArc return False. Such a point is contains geometrical informations (see the Value method) and logical informations.

Constructor & Destructor Documentation

◆ Contap_Point() [1/2]

Contap_Point::Contap_Point ( )

Empty constructor.

◆ Contap_Point() [2/2]

Contap_Point::Contap_Point ( const gp_Pnt Pt,
const Standard_Real  U,
const Standard_Real  V 
)

Creates a point.

Member Function Documentation

◆ Arc()

const Handle< Adaptor2d_HCurve2d >& Contap_Point::Arc ( ) const

Returns the arc of restriction containing the vertex.

◆ IsInternal()

Standard_Boolean Contap_Point::IsInternal ( ) const

Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel.

◆ IsMultiple()

Standard_Boolean Contap_Point::IsMultiple ( ) const

Returns True if the point belongs to several lines.

◆ IsOnArc()

Standard_Boolean Contap_Point::IsOnArc ( ) const

Returns True when the point is an intersection between the contour and a restriction.

◆ IsVertex()

Standard_Boolean Contap_Point::IsVertex ( ) const

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

◆ ParameterOnArc()

Standard_Real Contap_Point::ParameterOnArc ( ) const

Returns the parameter of the point on the arc returned by the method Arc().

◆ ParameterOnLine()

Standard_Real Contap_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 Contap_Point::Parameters ( Standard_Real U1,
Standard_Real V1 
) const

Returns the parameters on the surface of the point.

◆ SetArc()

void Contap_Point::SetArc ( const Handle< Adaptor2d_HCurve2d > &  A,
const Standard_Real  Param,
const IntSurf_Transition TLine,
const IntSurf_Transition TArc 
)

Sets the value of the arc and of the parameter on this arc of the point.

◆ SetInternal()

void Contap_Point::SetInternal ( )

◆ SetMultiple()

void Contap_Point::SetMultiple ( )

◆ SetParameter()

void Contap_Point::SetParameter ( const Standard_Real  Para)

Set the value of the parameter on the intersection line.

◆ SetValue()

void Contap_Point::SetValue ( const gp_Pnt Pt,
const Standard_Real  U,
const Standard_Real  V 
)

Sets the values for a point.

◆ SetVertex()

void Contap_Point::SetVertex ( const 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.

◆ TransitionOnArc()

const IntSurf_Transition& Contap_Point::TransitionOnArc ( ) const

Returns the transition of the point on the arc.

◆ TransitionOnLine()

const IntSurf_Transition& Contap_Point::TransitionOnLine ( ) const

Returns the transition of the point on the contour.

◆ Value()

const gp_Pnt& Contap_Point::Value ( ) const

Returns the intersection point (geometric information).

◆ Vertex()

const Handle< Adaptor3d_HVertex >& Contap_Point::Vertex ( ) const

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


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