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