Open CASCADE Technology 7.8.2.dev
|
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 the method IsOnArc return False. Such a point is contains geometrical information (see the Value method) and logical information. More...
#include <Contap_Point.hxx>
Public Member Functions | |
Contap_Point () | |
Empty constructor. | |
Contap_Point (const gp_Pnt &Pt, const Standard_Real U, const Standard_Real V) | |
Creates a point. | |
void | SetValue (const gp_Pnt &Pt, const Standard_Real U, const Standard_Real V) |
Sets the values for a point. | |
void | SetParameter (const Standard_Real Para) |
Set the value of the parameter on the intersection line. | |
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. | |
void | SetArc (const Handle< Adaptor2d_Curve2d > &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. | |
void | SetMultiple () |
void | SetInternal () |
const gp_Pnt & | Value () const |
Returns the intersection point (geometric information). | |
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. | |
void | Parameters (Standard_Real &U1, Standard_Real &V1) const |
Returns the parameters on the surface of the point. | |
Standard_Boolean | IsOnArc () const |
Returns True when the point is an intersection between the contour and a restriction. | |
const Handle< Adaptor2d_Curve2d > & | Arc () const |
Returns the arc of restriction containing the vertex. | |
Standard_Real | ParameterOnArc () const |
Returns the parameter of the point on the arc returned by the method Arc(). | |
const IntSurf_Transition & | TransitionOnLine () const |
Returns the transition of the point on the contour. | |
const IntSurf_Transition & | TransitionOnArc () const |
Returns the transition of the point on the arc. | |
Standard_Boolean | IsVertex () const |
Returns TRUE if the point is a vertex on the initial restriction facet of the surface. | |
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. | |
Standard_Boolean | IsMultiple () const |
Returns True if the point belongs to several lines. | |
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. | |
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 the method IsOnArc return False. Such a point is contains geometrical information (see the Value method) and logical information.
Contap_Point::Contap_Point | ( | ) |
Empty constructor.
Contap_Point::Contap_Point | ( | const gp_Pnt & | Pt, |
const Standard_Real | U, | ||
const Standard_Real | V ) |
Creates a point.
const Handle< Adaptor2d_Curve2d > & Contap_Point::Arc | ( | ) | const |
Returns the arc of restriction containing the vertex.
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.
Standard_Boolean Contap_Point::IsMultiple | ( | ) | const |
Returns True if the point belongs to several lines.
Standard_Boolean Contap_Point::IsOnArc | ( | ) | const |
Returns True when the point is an intersection between the contour and a restriction.
Standard_Boolean Contap_Point::IsVertex | ( | ) | const |
Returns TRUE if the point is a vertex on the initial restriction facet of the surface.
Standard_Real Contap_Point::ParameterOnArc | ( | ) | const |
Returns the parameter of the point on the arc returned by the method Arc().
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.
void Contap_Point::Parameters | ( | Standard_Real & | U1, |
Standard_Real & | V1 ) const |
Returns the parameters on the surface of the point.
void Contap_Point::SetArc | ( | const Handle< Adaptor2d_Curve2d > & | 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.
void Contap_Point::SetInternal | ( | ) |
void Contap_Point::SetMultiple | ( | ) |
void Contap_Point::SetParameter | ( | const Standard_Real | Para | ) |
Set the value of the parameter on the intersection line.
void Contap_Point::SetValue | ( | const gp_Pnt & | Pt, |
const Standard_Real | U, | ||
const Standard_Real | V ) |
Sets the values for a point.
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.
const IntSurf_Transition & Contap_Point::TransitionOnArc | ( | ) | const |
Returns the transition of the point on the arc.
const IntSurf_Transition & Contap_Point::TransitionOnLine | ( | ) | const |
Returns the transition of the point on the contour.
const gp_Pnt & Contap_Point::Value | ( | ) | const |
Returns the intersection point (geometric information).
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.