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 Standard_Real theParam) | |
| Creates a point on a first curve by parameter on this curve. | |
| void | setParam (Standard_Real theParam) |
| Changes the point position by changing point parameter on the first curve. | |
| Standard_Real | getParam () const |
| Returns the point parameter on the first curve. | |
| Standard_Integer | getNBValues () |
| Returns number of found values of function in this point. | |
| Standard_Real | getValue (int theIndex) |
| Returns value of function in this point. | |
| Standard_Real | getDiff (int theIndex) |
| Returns derivatives of function in this point. | |
| Standard_Boolean | 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 Standard_Real theParam2) |
| Defines the parameter of the projected point on the second curve. | |
| Standard_Real | 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 (Standard_Real theValue, Standard_Boolean theValid) |
| Appends value of the function. | |
| Standard_Boolean | 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. | |
| Standard_Integer | hasSolution (Standard_Real theRadius) |
| Returns the index of the solution or zero if there is no solution. | |
| Standard_Real | LowerValue () |
| For debug only. | |
| void | remove (Standard_Integer 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 Standard_Real | theParam | ) |
Creates a point on a first curve by parameter on this curve.
| void FilletPoint::appendValue | ( | Standard_Real | theValue, |
| Standard_Boolean | theValid ) |
Appends value of the function.
| Standard_Boolean 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 derivatives of function in this point.
|
inline |
Returns number of found values of function in this point.
|
inline |
Returns the index of the nearest value.
|
inline |
Returns the point parameter on the first curve.
|
inline |
Returns the parameter of the projected point on the second curve.
|
inline |
Returns value of function in this point.
| Standard_Integer FilletPoint::hasSolution | ( | Standard_Real | theRadius | ) |
Returns the index of the solution or zero if there is no solution.
|
inline |
Returns true if function is valid (rediuses vectors of fillet do not intersect any curve).
|
inline |
For debug only.
| void FilletPoint::remove | ( | Standard_Integer | theIndex | ) |
Removes the found value by the given index.
|
inline |
Center of the fillet.
|
inline |
Changes the point position by changing point parameter on the first curve.
|
inline |
Defines the parameter of the projected point on the second curve.