add comments

release/4.3a0
Kai Ni 2009-09-11 20:51:49 +00:00
parent bc7717d5ab
commit 597af891cb
2 changed files with 8 additions and 1 deletions

View File

@ -32,7 +32,12 @@ namespace gtsam {
x_(pose.x_), y_(pose.y_), theta_(pose.theta_) {
}
/** construct from (x,y,theta) */
/**
* construct from (x,y,theta)
* @param x x oordinate
* @param y y coordinate
* @param theta angle with positive X-axis
*/
Pose2(double x, double y, double theta) :
x_(x), y_(y), theta_(theta) {
}

View File

@ -41,6 +41,8 @@ namespace gtsam {
/**
* Create a level camera at the given 2D pose and height
* @param pose2 specifies the location and viewing direction
* (theta 0 = looking in direction of positive X axis)
*/
static SimpleCamera level(const Cal3_S2& K, const Pose2& pose2, double height);