Open CASCADE Technology
7.1.0.beta
|
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. More... | |
void | setParam (Standard_Real theParam) |
Changes the point position by changing point parameter on the first curve. More... | |
Standard_Real | getParam () const |
Returns the point parameter on the first curve. More... | |
Standard_Integer | getNBValues () |
Returns number of found values of function in this point. More... | |
Standard_Real | getValue (int theIndex) |
Returns value of function in this point. More... | |
Standard_Real | getDiff (int theIndex) |
Returns derivatives of function in this point. More... | |
Standard_Boolean | isValid (int theIndex) |
Returns true if function is valid (rediuses vectors of fillet do not intersect any curve). More... | |
int | getNear (int theIndex) |
Returns the index of the nearest value. More... | |
void | setParam2 (const Standard_Real theParam2) |
Defines the parameter of the projected point on the second curve. More... | |
Standard_Real | getParam2 () |
Returns the parameter of the projected point on the second curve. More... | |
void | setCenter (const gp_Pnt2d thePoint) |
Center of the fillet. More... | |
const gp_Pnt2d | getCenter () |
Center of the fillet. More... | |
void | appendValue (Standard_Real theValue, Standard_Boolean theValid) |
Appends value of the function. More... | |
Standard_Boolean | calculateDiff (FilletPoint *) |
Computes difference between this point and the given. Stores difference in myD. More... | |
void | FilterPoints (FilletPoint *) |
Filters out the values and leaves the most optimal one. More... | |
FilletPoint * | Copy () |
Returns a pointer to created copy of the point warning: this is not the full copy! Copies only: myParam, myV, myD, myValid. More... | |
Standard_Integer | hasSolution (Standard_Real theRadius) |
Returns the index of the solution or zero if there is no solution. More... | |
Standard_Real | LowerValue () |
For debug only. More... | |
void | remove (Standard_Integer theIndex) |
Removes the found value by the given index. More... | |
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.