The conic is defined by its cartesian equation a x^2 +b xy +c y^2 +d x +e y +f This class inherits both from vsol_curve_2d and vgl_conic<double>. From the latter it inherits most of its geometric functionality, but robustified (with "eps" values to catch rounding errors), non-templated, and with non-homogeneous Euclidean 2D geometry terminology instead of homogeneous 3-tuples.
Modifications
2000/04/28 François BERTEL Creation
2000/06/17 Peter Vanroose Implemented all operator==()s and type info
2001/08/29 Peter Vanroose midpoint() added
2001/08/29 Peter Vanroose conic intersection added (implemented in vgl)
2001/08/29 Peter Vanroose closest_point and distance to point added
2001/08/30 Peter Vanroose now inheriting from vgl_conic
2001/08/31 Peter Vanroose constructor added from centre, size, orientation
2002/04/05 Peter Vanroose axis() added
2003/01/08 Peter Vanroose moved static private methods to vsol_conic_2d.cxx
2004/05/11 Joseph Mundy added binary I/O methods
2004/09/23 Ming-CHing Chang Change cast_to_conic_2d() to cast_to_conic()
Definition in file vsol_conic_2d.h.
#include <vgl/vgl_fwd.h>
#include <vgl/vgl_conic.h>
#include <vgl/vgl_conic_segment_2d.h>
#include <vsl/vsl_binary_io.h>
#include <vsol/vsol_curve_2d.h>
#include <vsol/vsol_point_2d.h>
#include <vsol/vsol_line_2d.h>
#include <vsol/vsol_line_2d_sptr.h>
#include <vnl/vnl_double_3x3.h>
#include <vcl_list.h>
#include <vcl_iostream.h>
Go to the source code of this file.
Classes | |
| class | vsol_conic_2d |
| Euclidean general conic class, part of the vsol_curve_2d hierarchy. More... | |
Functions | |
| void | vsl_b_write (vsl_b_ostream &os, const vsol_conic_2d *p) |
| Binary save vsol_conic_2d* to stream. | |
| void | vsl_b_read (vsl_b_istream &is, vsol_conic_2d *&p) |
| Binary load vsol_conic_2d* from stream. | |
| void vsl_b_read | ( | vsl_b_istream & | is, | |
| vsol_conic_2d *& | p | |||
| ) |
| void vsl_b_write | ( | vsl_b_ostream & | os, | |
| const vsol_conic_2d * | p | |||
| ) |
1.5.1