Back to index

texmacs  1.0.7.15
Public Member Functions | Public Attributes
affine_2D_rep Struct Reference
Inheritance diagram for affine_2D_rep:
Inheritance graph
[legend]
Collaboration diagram for affine_2D_rep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 affine_2D_rep (matrix< double > m2)
 operator tree ()
point direct_transform (point p)
point inverse_transform (point p)
point jacobian (point p, point v, bool &error)
point jacobian_of_inverse (point p, point v, bool &error)
double direct_bound (point p, double eps)
double inverse_bound (point p, double eps)
double direct_scalar (double x)
double inverse_scalar (double x)

Public Attributes

matrix< double > m
matrix< double > j
bool linear
int ref_count

Detailed Description

Definition at line 69 of file frame.cpp.


Constructor & Destructor Documentation

affine_2D_rep::affine_2D_rep ( matrix< double >  m2) [inline]

Definition at line 71 of file frame.cpp.

                                   : m (m2) {
    j= copy (m);
    linear= true; }

Here is the call graph for this function:


Member Function Documentation

double affine_2D_rep::direct_bound ( point  p,
double  eps 
) [inline, virtual]

Implements frame_rep.

Definition at line 92 of file frame.cpp.

{ (void) p; return eps; }
double frame_rep::direct_scalar ( double  x) [inline, inherited]

Definition at line 39 of file frame.hpp.

                                         {
    return norm (direct_transform (point (x, 0))); }

Here is the call graph for this function:

point affine_2D_rep::direct_transform ( point  p) [inline, virtual]

Implements frame_rep.

Definition at line 78 of file frame.cpp.

                                   {
    point q= point (3), r;
    q[0]= p[0]; q[1]= p[1]; q[2]= 1.0;
    q= m * q;
    return point (q[0], q[1]); }
double affine_2D_rep::inverse_bound ( point  p,
double  eps 
) [inline, virtual]

Implements frame_rep.

Definition at line 93 of file frame.cpp.

{ (void) p; return eps; }
double frame_rep::inverse_scalar ( double  x) [inline, inherited]

Definition at line 41 of file frame.hpp.

                                          {
    return norm (inverse_transform (point (x, 0))); }

Here is the call graph for this function:

point affine_2D_rep::inverse_transform ( point  p) [inline, virtual]

Implements frame_rep.

Definition at line 83 of file frame.cpp.

                                    {
    FAILED ("not yet implemented");
    return p; }
point affine_2D_rep::jacobian ( point  p,
point  v,
bool &  error 
) [inline, virtual]

Implements frame_rep.

Definition at line 86 of file frame.cpp.

                                                 {
    (void) p; error= false; return j * v; }
point affine_2D_rep::jacobian_of_inverse ( point  p,
point  v,
bool &  error 
) [inline, virtual]

Implements frame_rep.

Definition at line 88 of file frame.cpp.

                                                            {
    (void) p; (void) v; (void) error;
    FAILED ("not yet implemented");
    return p;}
affine_2D_rep::operator tree ( ) [inline, virtual]

Implements frame_rep.

Definition at line 76 of file frame.cpp.

                   {
    return tuple ("affine_2D", as_tree (m)); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 70 of file frame.cpp.

bool frame_rep::linear [inherited]

Definition at line 19 of file frame.hpp.

Definition at line 70 of file frame.cpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.


The documentation for this struct was generated from the following file: