Open CASCADE Technology 6.6.0
|
Defines points as constraints to be used to deform a surface.
#include <GeomPlate_PointConstraint.hxx>
Public Member Functions | |
GeomPlate_PointConstraint (const gp_Pnt &Pt, const Standard_Integer Order, const Standard_Real TolDist=0.0001) | |
Constructs a point constraint object defined by Pt, a 3D point Order gives the order of constraint, one of: | |
GeomPlate_PointConstraint (const Standard_Real U, const Standard_Real V, const Handle< Geom_Surface > &Surf, const Standard_Integer Order, const Standard_Real TolDist=0.0001, const Standard_Real TolAng=0.01, const Standard_Real TolCurv=0.1) | |
Constructs a point constraint object defined by the intersection point of U and V on the surface Surf. Order gives the order of constraint, one of: | |
void | SetOrder (const Standard_Integer Order) |
Standard_Integer | Order () const |
Returns the order of constraint: G0, G1, and G2, controlled respectively by G0Criterion G1Criterion and G2Criterion. | |
void | SetG0Criterion (const Standard_Real TolDist) |
Allows you to set the G0 criterion. This is the law defining the greatest distance allowed between the constraint and the target surface. If this criterion is not set, {TolDist, the distance tolerance from the constructor, is used | |
void | SetG1Criterion (const Standard_Real TolAng) |
Allows you to set the G1 criterion. This is the law defining the greatest angle allowed between the constraint and the target surface. If this criterion is not set, TolAng, the angular tolerance from the constructor, is used. Raises ConstructionError if the point is not on the surface | |
void | SetG2Criterion (const Standard_Real TolCurv) |
Allows you to set the G2 criterion. This is the law defining the greatest difference in curvature allowed between the constraint and the target surface. If this criterion is not set, TolCurv, the curvature tolerance from the constructor, is used. Raises ConstructionError if the point is not on the surface | |
Standard_Real | G0Criterion () const |
Returns the G0 criterion. This is the greatest distance allowed between the constraint and the target surface. | |
Standard_Real | G1Criterion () const |
Returns the G1 criterion. This is the greatest angle allowed between the constraint and the target surface. Raises ConstructionError if the point is not on the surface. | |
Standard_Real | G2Criterion () const |
Returns the G2 criterion. This is the greatest difference in curvature allowed between the constraint and the target surface. Raises ConstructionError if the point is not on the surface | |
void | D0 (gp_Pnt &P) const |
void | D1 (gp_Pnt &P, gp_Vec &V1, gp_Vec &V2) const |
void | D2 (gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3, gp_Vec &V4, gp_Vec &V5) const |
Standard_Boolean | HasPnt2dOnSurf () const |
void | SetPnt2dOnSurf (const gp_Pnt2d &Pnt) |
gp_Pnt2d | Pnt2dOnSurf () const |
GeomLProp_SLProps & | LPropSurf () |
Protected Attributes | |
Standard_Integer | myOrder |
GeomPlate_PointConstraint::GeomPlate_PointConstraint | ( | const gp_Pnt & | Pt, |
const Standard_Integer | Order, | ||
const Standard_Real | TolDist = 0.0001 |
||
) |
GeomPlate_PointConstraint::GeomPlate_PointConstraint | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
const Handle< Geom_Surface > & | Surf, | ||
const Standard_Integer | Order, | ||
const Standard_Real | TolDist = 0.0001 , |
||
const Standard_Real | TolAng = 0.01 , |
||
const Standard_Real | TolCurv = 0.1 |
||
) |
void GeomPlate_PointConstraint::D0 | ( | gp_Pnt & | P | ) | const |
void GeomPlate_PointConstraint::D2 | ( | gp_Pnt & | P, |
gp_Vec & | V1, | ||
gp_Vec & | V2, | ||
gp_Vec & | V3, | ||
gp_Vec & | V4, | ||
gp_Vec & | V5 | ||
) | const |
Standard_Real GeomPlate_PointConstraint::G0Criterion | ( | ) | const |
Standard_Real GeomPlate_PointConstraint::G1Criterion | ( | ) | const |
Standard_Real GeomPlate_PointConstraint::G2Criterion | ( | ) | const |
Standard_Boolean GeomPlate_PointConstraint::HasPnt2dOnSurf | ( | ) | const |
GeomLProp_SLProps& GeomPlate_PointConstraint::LPropSurf | ( | ) |
Standard_Integer GeomPlate_PointConstraint::Order | ( | ) | const |
gp_Pnt2d GeomPlate_PointConstraint::Pnt2dOnSurf | ( | ) | const |
void GeomPlate_PointConstraint::SetG0Criterion | ( | const Standard_Real | TolDist | ) |
void GeomPlate_PointConstraint::SetG1Criterion | ( | const Standard_Real | TolAng | ) |
void GeomPlate_PointConstraint::SetG2Criterion | ( | const Standard_Real | TolCurv | ) |
void GeomPlate_PointConstraint::SetOrder | ( | const Standard_Integer | Order | ) |
void GeomPlate_PointConstraint::SetPnt2dOnSurf | ( | const gp_Pnt2d & | Pnt | ) |
Standard_Integer GeomPlate_PointConstraint::myOrder [protected] |