Back to index

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

List of all members.

Public Member Functions

 scaling_rep (double m, point s)
 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

double magnify
point shift
bool linear
int ref_count

Detailed Description

Definition at line 19 of file frame.cpp.


Constructor & Destructor Documentation

scaling_rep::scaling_rep ( double  m,
point  s 
) [inline]

Definition at line 22 of file frame.cpp.

: magnify (m), shift (s) { linear= true; }

Member Function Documentation

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

Implements frame_rep.

Definition at line 31 of file frame.cpp.

{ (void) p; return eps / magnify; }
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 scaling_rep::direct_transform ( point  p) [inline, virtual]

Implements frame_rep.

Definition at line 25 of file frame.cpp.

{ return shift + magnify * p; }
double scaling_rep::inverse_bound ( point  p,
double  eps 
) [inline, virtual]

Implements frame_rep.

Definition at line 32 of file frame.cpp.

{ (void) p; return eps * magnify; }
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 scaling_rep::inverse_transform ( point  p) [inline, virtual]

Implements frame_rep.

Definition at line 26 of file frame.cpp.

{ return (p - shift) / magnify; }
point scaling_rep::jacobian ( point  p,
point  v,
bool &  error 
) [inline, virtual]

Implements frame_rep.

Definition at line 27 of file frame.cpp.

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

Implements frame_rep.

Definition at line 29 of file frame.cpp.

                                                            {
    (void) p; error= false; return v / magnify; }
scaling_rep::operator tree ( ) [inline, virtual]

Implements frame_rep.

Definition at line 23 of file frame.cpp.

                   {
    return tuple ("scale", as_string (magnify), as_tree (shift)); }

Here is the call graph for this function:


Member Data Documentation

bool frame_rep::linear [inherited]

Definition at line 19 of file frame.hpp.

Definition at line 20 of file frame.cpp.

int abstract_struct::ref_count [inherited]

Definition at line 142 of file basic.hpp.

Definition at line 21 of file frame.cpp.


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