2 #ifndef vgl_cylinder_h_ 3 #define vgl_cylinder_h_ 18 # include <vcl_msvc_warnings.h> 63 std::ostream&
print(std::ostream& s)
const;
72 #define VGL_CYLINDER_INSTANTIATE(T) extern "please include vgl/vgl_cylinder.hxx first" 74 #endif // vgl_cylinder_h_
vgl_cylinder(const Type v[8])
void set_length(Type len)
vgl_point_3d< Type > center_
direction vector in Euclidean 3D space
bool operator==(vgl_cylinder< Type > const &cyl) const
operations.
Represents a cartesian 3D point.
vgl_cylinder(Type cx, Type cy, Type cz, Type rad, Type len)
std::ostream & operator<<(std::ostream &s, vgl_orient_box_3d< Type > const &p)
Write box to stream.
void set_center(vgl_point_3d< Type > cntr)
setters.
void set_radius(Type rad)
vgl_cylinder(void)
Default constructor.
a point in 3D nonhomogeneous space
vgl_vector_3d< Type > orientation() const
~vgl_cylinder(void)=default
void set_orientation(vgl_vector_3d< Type > orient)
vgl_point_3d< Type > center() const
getters.
std::istream & operator>>(std::istream &is, vgl_orient_box_3d< Type > &p)
Read box from stream.
vgl_cylinder(vgl_point_3d< Type > cntr, Type rad, Type len)
vgl_vector_3d< Type > orient_
std::ostream & print(std::ostream &s) const
Writes "<vgl_cylinder center=(x0,y0,z0), radius=r, length=l, direction=(x1,y1,z1)>" to stream.
vgl_cylinder(vgl_point_3d< Type > cntr, Type rad, Type len, vgl_vector_3d< Type > orient)