Open CASCADE Technology
7.3.0
|
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_Pnt & | Value () 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_Transition & | TransitionOnLine () const |
Returns the transition of the point on the contour. More... | |
const IntSurf_Transition & | TransitionOnArc () 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... | |
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.
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_HCurve2d >& 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_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.
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.