Digital curve in 2D with interpolation. More...
#include <vgl/vgl_fwd.h>#include <vsl/vsl_binary_io.h>#include <vsol/vsol_curve_2d.h>#include <vsol/vsol_point_2d_sptr.h>#include <vsol/vsol_digital_curve_2d_sptr.h>#include <vcl_vector.h>#include <vcl_string.h>#include <vcl_iosfwd.h>Go to the source code of this file.
Classes | |
| class | vsol_digital_curve_2d |
| Digital curve class, part of the vsol_curve_2d hierarchy. More... | |
Functions | |
| void | vsl_b_write (vsl_b_ostream &os, const vsol_digital_curve_2d *p) |
| Binary save vsol_digital_curve_2d* to stream. | |
| void | vsl_b_read (vsl_b_istream &is, vsol_digital_curve_2d *&p) |
| Binary load vsol_digital_curve_2d* from stream. | |
| double | closest_index (const vgl_point_2d< double > &point, const vsol_digital_curve_2d_sptr &curve) |
Return the floating point index of the point on the curve nearest to point. | |
| bool | split (const vsol_digital_curve_2d_sptr &input, double index, vsol_digital_curve_2d_sptr &output1, vsol_digital_curve_2d_sptr &output2) |
| Split the input curve into two pieces at the floating point index. | |
Digital curve in 2D with interpolation.
This class inherits from vsol_curve_2d.
Modifications
Definition in file vsol_digital_curve_2d.h.
| double closest_index | ( | const vgl_point_2d< double > & | pt, |
| const vsol_digital_curve_2d_sptr & | curve | ||
| ) |
Return the floating point index of the point on the curve nearest to point.
Definition at line 294 of file vsol_digital_curve_2d.cxx.
| bool split | ( | const vsol_digital_curve_2d_sptr & | input, |
| double | index, | ||
| vsol_digital_curve_2d_sptr & | output1, | ||
| vsol_digital_curve_2d_sptr & | output2 | ||
| ) |
Split the input curve into two pieces at the floating point index.
Definition at line 311 of file vsol_digital_curve_2d.cxx.
| void vsl_b_read | ( | vsl_b_istream & | is, |
| vsol_digital_curve_2d *& | p | ||
| ) |
Binary load vsol_digital_curve_2d* from stream.
Definition at line 270 of file vsol_digital_curve_2d.cxx.
| void vsl_b_write | ( | vsl_b_ostream & | os, |
| const vsol_digital_curve_2d * | p | ||
| ) |
Binary save vsol_digital_curve_2d* to stream.
Definition at line 256 of file vsol_digital_curve_2d.cxx.
1.7.5.1