Digital curve in 3D with interpolation Identical in interface and implementation to vsol_digital_curve_2d. More...
#include <vgl/vgl_fwd.h>
#include <vsl/vsl_binary_io.h>
#include <vsol/vsol_curve_3d.h>
#include <vsol/vsol_point_3d_sptr.h>
#include <vsol/vsol_digital_curve_3d_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_3d |
Digital curve class, part of the vsol_curve_3d hierarchy. More... | |
Functions | |
void | vsl_b_write (vsl_b_ostream &os, vsol_digital_curve_3d const *p) |
Binary save vsol_digital_curve_3d* to stream. | |
void | vsl_b_read (vsl_b_istream &is, vsol_digital_curve_3d *&p) |
Binary load vsol_digital_curve_3d* from stream. | |
double | closest_index (vgl_point_3d< double > const &point, vsol_digital_curve_3d_sptr const &curve) |
Return the floating point index of the point on the curve nearest to point . | |
bool | split (vsol_digital_curve_3d_sptr const &input, double index, vsol_digital_curve_3d_sptr &output1, vsol_digital_curve_3d_sptr &output2) |
Split the input curve into two pieces at the floating point index. |
Digital curve in 3D with interpolation Identical in interface and implementation to vsol_digital_curve_2d.
Definition in file vsol_digital_curve_3d.h.
double closest_index | ( | vgl_point_3d< double > const & | point, |
vsol_digital_curve_3d_sptr const & | curve | ||
) |
Return the floating point index of the point on the curve nearest to point
.
Definition at line 233 of file vsol_digital_curve_3d.cxx.
bool split | ( | vsol_digital_curve_3d_sptr const & | input, |
double | index, | ||
vsol_digital_curve_3d_sptr & | output1, | ||
vsol_digital_curve_3d_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_3d *& | p | ||
) |
Binary load vsol_digital_curve_3d* from stream.
Definition at line 209 of file vsol_digital_curve_3d.cxx.
void vsl_b_write | ( | vsl_b_ostream & | os, |
vsol_digital_curve_3d const * | p | ||
) |
Binary save vsol_digital_curve_3d* to stream.
Definition at line 195 of file vsol_digital_curve_3d.cxx.