![]() |
Open CASCADE Technology Reference Manual 8.0.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 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 double U, const double V) | |
| Creates a point. | |
| void | SetValue (const gp_Pnt &Pt, const double U, const double V) |
| Sets the values for a point. | |
| void | SetParameter (const double Para) |
| Set the value of the parameter on the intersection line. | |
| void | SetVertex (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. | |
| void | SetArc (const occ::handle< Adaptor2d_Curve2d > &A, const double 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). | |
| 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. | |
| void | Parameters (double &U1, double &V1) const |
| Returns the parameters on the surface of the point. | |
| bool | IsOnArc () const |
| Returns True when the point is an intersection between the contour and a restriction. | |
| const occ::handle< Adaptor2d_Curve2d > & | Arc () const |
| Returns the arc of restriction containing the vertex. | |
| double | 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. | |
| bool | IsVertex () const |
| Returns TRUE if the point is a vertex on the initial restriction facet of the surface. | |
| const occ::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. | |
| bool | IsMultiple () const |
| Returns True if the point belongs to several lines. | |
| bool | 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.
| const occ::handle< Adaptor2d_Curve2d > & Contap_Point::Arc | ( | ) | const |
Returns the arc of restriction containing the vertex.
| bool 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.
| bool Contap_Point::IsMultiple | ( | ) | const |
Returns True if the point belongs to several lines.
| bool Contap_Point::IsOnArc | ( | ) | const |
Returns True when the point is an intersection between the contour and a restriction.
| bool Contap_Point::IsVertex | ( | ) | const |
Returns TRUE if the point is a vertex on the initial restriction facet of the surface.
| double Contap_Point::ParameterOnArc | ( | ) | const |
Returns the parameter of the point on the arc returned by the method Arc().
| double 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.
Returns the parameters on the surface of the point.
| void Contap_Point::SetArc | ( | const occ::handle< Adaptor2d_Curve2d > & | A, |
| const double | 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 | ( | ) |
Set the value of the parameter on the intersection line.
Sets the values for a point.
| void Contap_Point::SetVertex | ( | 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.
| 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 occ::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.