CGAL::quotient_cartesian_to_homogeneous

#include <CGAL/cartesian_homogeneous_conversion.h>

Point_2< Homogeneous<RT> >
quotient_cartesian_to_homogeneous ( Point_2< Cartesian< Quotient<RT> > > cp)
converts 2d point cp with Cartesian representation with number type Quotient<RT> into a 2d point with homogeneous representation with number type RT.

Point_3< Homogeneous<RT> >
quotient_cartesian_to_homogeneous ( Point_3< Cartesian< Quotient<RT> > > cp)
converts 3d point cp with Cartesian representation with number type Quotient<RT> into a 3d point with homogeneous representation with number type RT.

See Also

CGAL::Cartesian<FieldNumberType>
CGAL::Cartesian_converter<K1, K2, NTConverter>
CGAL::cartesian_to_homogeneous
CGAL::Homogeneous<RingNumberType>
CGAL::Homogeneous_converter<K1, K2, RTConverter, FTConverter>
CGAL::homogeneous_to_cartesian
CGAL::homogeneous_to_quotient_cartesian
CGAL::Simple_cartesian<FieldNumberType>
CGAL::Simple_homogeneous<RingNumberType>