Functions
contrib/gel/vsol/vsol_digital_curve_3d.cxx File Reference
#include "vsol_digital_curve_3d.h"
#include <vsol/vsol_point_3d.h>
#include <vcl_iostream.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_vector_3d.h>
#include <vgl/vgl_distance.h>
#include <vsl/vsl_vector_io.h>
#include <vcl_cmath.h>
#include <vcl_cassert.h>

Go to the source code of this file.

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 &pt, 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.

Detailed Description

Definition in file vsol_digital_curve_3d.cxx.


Function Documentation

double closest_index ( vgl_point_3d< double > const &  pt,
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 269 of file vsol_digital_curve_3d.cxx.

void vsl_b_read ( vsl_b_istream is,
vsol_digital_curve_3d *&  p 
)

Binary load vsol_digital_curve_3d from stream.

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.

Binary save vsol_digital_curve_3d* to stream.

Definition at line 195 of file vsol_digital_curve_3d.cxx.