#include <occ_line_smoothing.h>
Definition at line 34 of file occ_line_smoothing.h.
OpenCascade::LineSmoothing::LineSmoothing |
( |
Vector< double > & |
euler_vector, |
|
|
Handle(Geom_Curve) |
ref_curve, |
|
|
TopLoc_Location * |
curr_loc, |
|
|
const DoFHandler< 2, 3 > & |
dh, |
|
|
const std::vector< bool > & |
smoothing_dofs, |
|
|
const unsigned int |
base_point_id, |
|
|
const unsigned int |
driving_point_id, |
|
|
const double |
tolerance = 1e-4 |
|
) |
| |
void LineSmoothing::get_curve_length_ratios_at_smoothing_dofs |
( |
Vector< double > & |
length_ratios | ) |
|
void LineSmoothing::get_curve_tangent_vectors_at_smoothing_dofs |
( |
Vector< double > & |
tangents | ) |
|
Vector<double>& OpenCascade::LineSmoothing::get_lengths_after_smoothing |
( |
| ) |
|
|
inline |
Vector<double>& OpenCascade::LineSmoothing::get_lengths_before_smoothing |
( |
| ) |
|
|
inline |
std::vector<unsigned int>& OpenCascade::LineSmoothing::get_node_indices |
( |
| ) |
|
|
inline |
OpenCascade::LineSmoothing::Handle |
( |
Geom_Curve |
| ) |
|
|
inline |
OpenCascade::LineSmoothing::Handle |
( |
Geom_Curve |
| ) |
|
|
private |
OpenCascade::LineSmoothing::Handle |
( |
Geom_Curve |
| ) |
|
|
private |
void OpenCascade::LineSmoothing::smooth |
( |
bool |
maintain_on_original_curve = true | ) |
|
Perform the actual smoothing.
Notice that the argument decides wether or not the moving point is projected to the original curve. If this is not the case, then all points are maintained in their current location, a new curve is computed which passes through all current points, and their smoothing is computed according to their original location.
Definition at line 164 of file occ_line_smoothing.cc.
void OpenCascade::LineSmoothing::update_reference |
( |
unsigned int |
base_point_id, |
|
|
unsigned int |
driving_point_id |
|
) |
| |
unsigned int OpenCascade::LineSmoothing::base_point_id |
|
private |
TopLoc_Location* OpenCascade::LineSmoothing::curr_location |
|
private |
const DoFHandler<2,3>& OpenCascade::LineSmoothing::dh |
|
private |
unsigned int OpenCascade::LineSmoothing::driving_point_id |
|
private |
Vector<double>& OpenCascade::LineSmoothing::euler_vector |
|
private |
Vector<double> OpenCascade::LineSmoothing::fixed_length_ratios |
|
private |
Vector<double> OpenCascade::LineSmoothing::lengths_after_smoothing |
|
private |
Vector<double> OpenCascade::LineSmoothing::lengths_before_smoothing |
|
private |
std::vector<unsigned int> OpenCascade::LineSmoothing::node_indices |
|
private |
double OpenCascade::LineSmoothing::occ_base_t |
|
private |
double OpenCascade::LineSmoothing::occ_driving_t |
|
private |
double OpenCascade::LineSmoothing::ref_L |
|
private |
TopLoc_Location OpenCascade::LineSmoothing::ref_location |
|
private |
const std::vector<bool>& OpenCascade::LineSmoothing::smoothing_dofs |
|
private |
std::map<std::pair<double, double>, unsigned int, comp_points_on_curve > OpenCascade::LineSmoothing::smoothing_list |
|
private |
std::vector<Point<3> > OpenCascade::LineSmoothing::support_points |
|
private |
double OpenCascade::LineSmoothing::tolerance |
|
private |
GeomLib_Tool OpenCascade::LineSmoothing::tool |
|
private |
TopLoc_Location OpenCascade::LineSmoothing::used_location |
|
private |
The documentation for this class was generated from the following files: