SPATREF::COORDOP_IMPL::LINEAR Class Reference

#include <mi32/coordop.h>

List of all members.

Public Member Functions

 LINEAR (const LINEAR &lhs, const LINEAR &rhs)
 LINEAR (const LINEAR &)
 LINEAR ()
 ~LINEAR ()
void ApplyScale (const DPOINT3D &scale, bool reverse=false)
void ApplyScale (const DPOINT2D &scale, bool reverse=false)
void ApplyScale (double scaleX, double scaleY, double scaleZ=1, bool reverse=false)
void ApplyTranslation (const DPOINT3D &trans, bool reverse=false)
void ApplyTranslation (const DPOINT2D &trans, bool reverse=false)
void ApplyTranslation (double transX, double transY, double transZ=0, bool reverse=false)
ERRVALUE Compute (const CTRLPOINT3 *CtrlPoints, int NumPoints)
ERRVALUE Compute (const CTRLPOINT *CtrlPoints, int NumPoints)
DPOINT3DH ConvertForward (const DPOINT3DH &ipoint) const
void ConvertForward (const DPOINT3DH &ipoint, DPOINT3DH &opoint) const
DPOINT3D ConvertForward (const DPOINT3D &ipoint) const
void ConvertForward (const DPOINT3D &ipoint, DPOINT3D &opoint) const
DPOINT2D ConvertForward (const DPOINT2D &ipoint) const
void ConvertForward (const DPOINT2D &ipoint, DPOINT2D &opoint) const
DPOINT3DH ConvertReverse (const DPOINT3DH &ipoint) const
void ConvertReverse (const DPOINT3DH &ipoint, DPOINT3DH &opoint) const
DPOINT3D ConvertReverse (const DPOINT3D &ipoint) const
void ConvertReverse (const DPOINT3D &ipoint, DPOINT3D &opoint) const
DPOINT2D ConvertReverse (const DPOINT2D &ipoint) const
void ConvertReverse (const DPOINT2D &ipoint, DPOINT2D &opoint) const
LINEARoperator= (const LINEAR &)
void Reverse ()
void SetIdentity ()

Constructor & Destructor Documentation

SPATREF::COORDOP_IMPL::LINEAR::LINEAR (  )  [inline]

Default constructor.

SPATREF::COORDOP_IMPL::LINEAR::LINEAR ( const LINEAR  ) 

Copy constructor.

SPATREF::COORDOP_IMPL::LINEAR::LINEAR ( const LINEAR lhs,
const LINEAR rhs 
)

Combination constructor.

SPATREF::COORDOP_IMPL::LINEAR::~LINEAR (  )  [inline]

Destructor.


Member Function Documentation

void SPATREF::COORDOP_IMPL::LINEAR::ApplyScale ( const DPOINT3D scale,
bool  reverse = false 
) [inline]

Apply scale to axes using DPOINT3D.

Parameters:
reverse Specified values apply to reverse direction
void SPATREF::COORDOP_IMPL::LINEAR::ApplyScale ( const DPOINT2D scale,
bool  reverse = false 
) [inline]

Apply scale to X/Y axes using DPOINT2D.

Parameters:
reverse Specified values apply to reverse direction
void SPATREF::COORDOP_IMPL::LINEAR::ApplyScale ( double  scaleX,
double  scaleY,
double  scaleZ = 1,
bool  reverse = false 
)

Apply scale to axes.

Parameters:
reverse Specified values apply to reverse direction
void SPATREF::COORDOP_IMPL::LINEAR::ApplyTranslation ( const DPOINT3D trans,
bool  reverse = false 
) [inline]

Apply translation to origin using DPOINT3D..

Parameters:
reverse Specified values apply to reverse direction
void SPATREF::COORDOP_IMPL::LINEAR::ApplyTranslation ( const DPOINT2D trans,
bool  reverse = false 
) [inline]

Apply translation to origin X/Y using DPOINT2D.

Parameters:
reverse Specified values apply to reverse direction
void SPATREF::COORDOP_IMPL::LINEAR::ApplyTranslation ( double  transX,
double  transY,
double  transZ = 0,
bool  reverse = false 
)

Apply translation to origin.

Parameters:
reverse Specified values apply to reverse direction
ERRVALUE SPATREF::COORDOP_IMPL::LINEAR::Compute ( const CTRLPOINT3 CtrlPoints,
int  NumPoints 
)

Compute linear transformation using CTRLPOINT3 array.

ERRVALUE SPATREF::COORDOP_IMPL::LINEAR::Compute ( const CTRLPOINT CtrlPoints,
int  NumPoints 
)

Compute (2D) linear transformation using CTRLPOINT array.

DPOINT3DH SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT3DH ipoint  )  const [inline]

Perform forward operation on DPOINT3DH.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT3DH ipoint,
DPOINT3DH opoint 
) const [inline]

Perform forward operation on DPOINT3DH.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
DPOINT3D SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT3D ipoint  )  const [inline]

Perform forward operation on DPOINT3D.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT3D ipoint,
DPOINT3D opoint 
) const [inline]

Perform forward operation on DPOINT3D.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
DPOINT2D SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT2D ipoint  )  const [inline]

Perform forward operation on DPOINT2D.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertForward ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Perform forward operation on DPOINT2D.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
DPOINT3DH SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT3DH ipoint  )  const [inline]

Perform reverse operation on DPOINT3DH.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT3DH ipoint,
DPOINT3DH opoint 
) const [inline]

Perform reverse operation on DPOINT3DH.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
DPOINT3D SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT3D ipoint  )  const [inline]

Perform reverse operation on DPOINT3D.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT3D ipoint,
DPOINT3D opoint 
) const [inline]

Perform reverse operation on DPOINT3D.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
DPOINT2D SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT2D ipoint  )  const [inline]

Perform reverse operation on DPOINT2D.

Returns:
Converted point.
Parameters:
ipoint Input point
void SPATREF::COORDOP_IMPL::LINEAR::ConvertReverse ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Perform reverse operation on DPOINT2D.

Note, the output point must not be the same as the input point.

Parameters:
ipoint Input point
opoint Output point
LINEAR& SPATREF::COORDOP_IMPL::LINEAR::operator= ( const LINEAR  ) 

Assignment.

void SPATREF::COORDOP_IMPL::LINEAR::Reverse (  ) 

Reverse direction of operation.

void SPATREF::COORDOP_IMPL::LINEAR::SetIdentity (  ) 

Set to identity operation.


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

Generated on Sun Oct 7 21:40:26 2012 for TNTsdk 2012 by  doxygen 1.6.1