Public Types | Public Member Functions | Protected Attributes | Friends
jsk_recognition_utils::Segment Class Reference

#include <segment.h>

Inheritance diagram for jsk_recognition_utils::Segment:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< Segment
Ptr

Public Member Functions

virtual double distance (const Eigen::Vector3f &point) const
virtual double distance (const Eigen::Vector3f &point, Eigen::Vector3f &foot_point) const
virtual double dividingRatio (const Eigen::Vector3f &point) const
virtual void foot (const Eigen::Vector3f &point, Eigen::Vector3f &output) const
 compute a point which gives perpendicular projection.
virtual bool intersect (Plane &plane, Eigen::Vector3f &point) const
 Segment (const Eigen::Vector3f &from, const Eigen::Vector3f to)

Protected Attributes

Eigen::Vector3f from_
Eigen::Vector3f to_

Friends

std::ostream & operator<< (std::ostream &os, const Segment &seg)

Detailed Description

Definition at line 46 of file segment.h.


Member Typedef Documentation

typedef boost::shared_ptr<Segment> jsk_recognition_utils::Segment::Ptr

Reimplemented from jsk_recognition_utils::Line.

Definition at line 49 of file segment.h.


Constructor & Destructor Documentation

jsk_recognition_utils::Segment::Segment ( const Eigen::Vector3f &  from,
const Eigen::Vector3f  to 
)

Definition at line 42 of file segment.cpp.


Member Function Documentation

double jsk_recognition_utils::Segment::distance ( const Eigen::Vector3f &  point) const [virtual]

Definition at line 77 of file segment.cpp.

double jsk_recognition_utils::Segment::distance ( const Eigen::Vector3f &  point,
Eigen::Vector3f &  foot_point 
) const [virtual]

Definition at line 83 of file segment.cpp.

double jsk_recognition_utils::Segment::dividingRatio ( const Eigen::Vector3f &  point) const [virtual]

Definition at line 48 of file segment.cpp.

void jsk_recognition_utils::Segment::foot ( const Eigen::Vector3f &  point,
Eigen::Vector3f &  output 
) const [virtual]

compute a point which gives perpendicular projection.

Reimplemented from jsk_recognition_utils::Line.

Definition at line 61 of file segment.cpp.

bool jsk_recognition_utils::Segment::intersect ( Plane plane,
Eigen::Vector3f &  point 
) const [virtual]

Definition at line 90 of file segment.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Segment seg 
) [friend]

Definition at line 98 of file segment.cpp.


Member Data Documentation

Eigen::Vector3f jsk_recognition_utils::Segment::from_ [protected]

Definition at line 59 of file segment.h.

Eigen::Vector3f jsk_recognition_utils::Segment::to_ [protected]

Definition at line 59 of file segment.h.


The documentation for this class was generated from the following files:


jsk_recognition_utils
Author(s):
autogenerated on Wed Sep 16 2015 04:36:01