![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Private class. Corresponds to the point on the first curve, computed fillet function and derivative on it. More...
#include <ChFi2d_FilletAlgo.hxx>
Public Member Functions | |
| FilletPoint (const double theParam) | |
| Creates a point on a first curve by parameter on this curve. | |
| void | setParam (double theParam) |
| Changes the point position by changing point parameter on the first curve. | |
| double | getParam () const |
| Returns the point parameter on the first curve. | |
| int | getNBValues () |
| Returns number of found values of function in this point. | |
| double | getValue (int theIndex) |
| Returns value of function in this point. | |
| double | getDiff (int theIndex) |
| Returns derivatives of function in this point. | |
| bool | isValid (int theIndex) |
| Returns true if function is valid (rediuses vectors of fillet do not intersect any curve). | |
| int | getNear (int theIndex) |
| Returns the index of the nearest value. | |
| void | setParam2 (const double theParam2) |
| Defines the parameter of the projected point on the second curve. | |
| double | getParam2 () |
| Returns the parameter of the projected point on the second curve. | |
| void | setCenter (const gp_Pnt2d thePoint) |
| Center of the fillet. | |
| const gp_Pnt2d | getCenter () |
| Center of the fillet. | |
| void | appendValue (double theValue, bool theValid) |
| Appends value of the function. | |
| bool | calculateDiff (FilletPoint *) |
| Computes difference between this point and the given. Stores difference in myD. | |
| void | FilterPoints (FilletPoint *) |
| Filters out the values and leaves the most optimal one. | |
| FilletPoint * | Copy () |
| Returns a pointer to created copy of the point warning: this is not the full copy! Copies only: myParam, myV, myD, myValid. | |
| int | hasSolution (double theRadius) |
| Returns the index of the solution or zero if there is no solution. | |
| double | LowerValue () |
| For debug only. | |
| void | remove (int theIndex) |
| Removes the found value by the given index. | |
Private class. Corresponds to the point on the first curve, computed fillet function and derivative on it.
| FilletPoint::FilletPoint | ( | const double | theParam | ) |
Creates a point on a first curve by parameter on this curve.
| bool FilletPoint::calculateDiff | ( | FilletPoint * | ) |
Computes difference between this point and the given. Stores difference in myD.
| FilletPoint * FilletPoint::Copy | ( | ) |
Returns a pointer to created copy of the point warning: this is not the full copy! Copies only: myParam, myV, myD, myValid.
| void FilletPoint::FilterPoints | ( | FilletPoint * | ) |
Filters out the values and leaves the most optimal one.
|
inline |
Center of the fillet.
|
inline |
Returns number of found values of function in this point.
|
inline |
Returns the point parameter on the first curve.
|
inline |
Returns the parameter of the projected point on the second curve.
Returns the index of the solution or zero if there is no solution.
Returns true if function is valid (rediuses vectors of fillet do not intersect any curve).
|
inline |
For debug only.
Changes the point position by changing point parameter on the first curve.
Defines the parameter of the projected point on the second curve.