Functions
contrib/mul/vimt/vimt_transform_util_2d.cxx File Reference
#include "vimt_transform_util_2d.h"
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

void vimt_calc_transform_2d (vimt_transform_2d &trans, const vgl_point_2d< double > &p1, const vgl_point_2d< double > &p2, const vgl_point_2d< double > &q1, const vgl_point_2d< double > &q2)
 Compute similarity transform which maps the p1,p2 to q1,q2.
void vimt_transform_util_2d (vgl_box_2d< double > &dest_box, const vgl_box_2d< double > &src_box, const vimt_transform_2d &trans)
 Transform 2d box.
void vimt_transform_util_2d (vcl_vector< vgl_point_2d< double > > &dest_pt_vec, const vcl_vector< vgl_point_2d< double > > &src_pt_vec, const vimt_transform_2d &trans)
 Transform vector of 2d pts.

Detailed Description

Definition in file vimt_transform_util_2d.cxx.


Function Documentation

void vimt_calc_transform_2d ( vimt_transform_2d trans,
const vgl_point_2d< double > &  p1,
const vgl_point_2d< double > &  p2,
const vgl_point_2d< double > &  q1,
const vgl_point_2d< double > &  q2 
)

Compute similarity transform which maps the p1,p2 to q1,q2.

Definition at line 8 of file vimt_transform_util_2d.cxx.

void vimt_transform_util_2d ( vgl_box_2d< double > &  dest_box,
const vgl_box_2d< double > &  src_box,
const vimt_transform_2d trans 
)

Transform 2d box.

Definition at line 33 of file vimt_transform_util_2d.cxx.

void vimt_transform_util_2d ( vcl_vector< vgl_point_2d< double > > &  dest_pt_vec,
const vcl_vector< vgl_point_2d< double > > &  src_pt_vec,
const vimt_transform_2d trans 
)

Transform vector of 2d pts.

Definition at line 48 of file vimt_transform_util_2d.cxx.