TRANS2D_MAPGEN Class Reference

Encapsulate TRANSPARM structure and TransGen...() functions. More...

#include <mi32/trans2dc.h>

List of all members.

Public Types

enum  DIRECTION { DIRECTION_Forward = TRANSDIR_Forward, DIRECTION_Inverse = TRANSDIR_Inverse }

Public Member Functions

void Clear ()
ERRVALUE ConvertForward (const DRECT2D &irect, DRECT2D &orect, int sidepoints=0) const
ERRVALUE ConvertForward (const void *ipoints, void *opoints, INT32 NumPoints, int NumDim) const
ERRVALUE ConvertForward (const DPOINT3D *ipoints, DPOINT3D *opoints, INT32 NumPoints) const
ERRVALUE ConvertForward (const DPOINT2D *ipoints, DPOINT2D *opoints, INT32 NumPoints) const
ERRVALUE ConvertForward (const DPOINT3D &ipoint, DPOINT3D &opoint) const
ERRVALUE ConvertForward (const DPOINT2D &ipoint, DPOINT2D &opoint) const
ERRVALUE ConvertInverse (const DRECT2D &irect, DRECT2D &orect, int sidepoints=0) const
ERRVALUE ConvertInverse (const void *ipoints, void *opoints, INT32 NumPoints, int NumDim) const
ERRVALUE ConvertInverse (const DPOINT3D *ipoints, DPOINT3D *opoints, INT32 NumPoints) const
ERRVALUE ConvertInverse (const DPOINT2D *ipoints, DPOINT2D *opoints, INT32 NumPoints) const
ERRVALUE ConvertInverse (const DPOINT3D &ipoint, DPOINT3D &opoint) const
ERRVALUE ConvertInverse (const DPOINT2D &ipoint, DPOINT2D &opoint) const
ERRVALUE ConvertMapToMapForward (const DPOINT2D &ipoint, DPOINT2D &opoint) const
ERRVALUE ConvertMapToMapInverse (const DPOINT2D &ipoint, DPOINT2D &opoint) const
ERRVALUE ConvertOutputToMap (const DPOINT2D &ipoint, DPOINT2D &opoint) const
void CopyInputToInput (const TRANS2D_MAPGEN &itrans)
void CopyInputToInput (const TRANSPARM &transparm)
void CopyInputToOutput (const TRANS2D_MAPGEN &itrans)
void CopyInputToOutput (const TRANSPARM &transparm)
void CopyOutputToInput (const TRANS2D_MAPGEN &itrans)
void CopyOutputToInput (const TRANSPARM &transparm)
void CopyOutputToOutput (const TRANS2D_MAPGEN &itrans)
void CopyOutputToOutput (const TRANSPARM &transparm)
ERRVALUE DisectForward (const DPOINT2D &point, double *xscale, double *yscale, double *rotangle=0, double *shearangle=0, double size=1.0) const
ERRVALUE DisectInverse (const DPOINT2D &point, double *xscale, double *yscale, double *rotangle=0, double *shearangle=0, double size=1.0) const
ERRVALUE GetAffine (TRANS2D_AFFINE &trans) const
ERRVALUE GetAffine (MAT3X3 fwd, MAT3X3 inv) const
const DOUBLE_ARRAY< CTRLPOINT3 > & GetInputCtrlPoints () const
const SPATREF::COORDREFSYSGetInputMapCoordRefSys () const
UINT16 GetInputModel () const
int GetInputTrans (CTRLPOINT3 **ctrlpoint) const
ERRVALUE GetInputTrans (MAT3X3 fwd, MAT3X3 inv) const
ERRVALUE GetInputTrans (TRANS2D_AFFINE &trans) const
ERRVALUE GetLocalAffine (const DPOINT2D &point, TRANS2D_AFFINE &trans, double size=1.0, UINT32 flags=0) const
ERRVALUE GetLocalAffine (const DPOINT2D &point, MAT3X3 fwd, MAT3X3 inv, double size=1.0, UINT32 flags=0) const
const DOUBLE_ARRAY< CTRLPOINT3 > & GetOutputCtrlPoints () const
const SPATREF::COORDREFSYSGetOutputMapCoordRefSys () const
UINT16 GetOutputModel () const
int GetOutputTrans (CTRLPOINT3 **ctrlpoint) const
ERRVALUE GetOutputTrans (MAT3X3 fwd, MAT3X3 inv) const
ERRVALUE GetOutputTrans (TRANS2D_AFFINE &trans) const
const TRANSPARMGetTransParm () const
bool IsAffine () const
bool IsIdentity () const
bool IsInputTransIdentity () const
bool IsOutputTransIdentity () const
bool IsReversible () const
 operator const TRANSPARM * () const
TRANS2D_MAPGENoperator= (const TRANSPARM &rhs)
TRANS2D_MAPGENoperator= (const TRANS2D_MAPGEN &rhs)
DEPRECATED ERRVALUE ReadGeoreference (int fhandle, RVCINODENUM inode, bool dooutput=false)
ERRVALUE SetAffineApproximation (const DRECT2D &rect, double tolerance, UINT32 coord)
void SetExtrapolation (bool extrapolate)
void SetFullTransAffine (const TRANS2D_AFFINE &trans)
ERRVALUE SetInputBounds (const DRECT2D &boundrect)
ERRVALUE SetInputMapCoordRefSys (const SPATREF::COORDREFSYS &MapCRS)
void SetInputMaxError (double maxerror)
ERRVALUE SetInputTrans (const CTRLPOINT3 *CtrlPoint, INT32 NumPoints, UINT16 Model)
void SetInputTrans (const MAT3X3 fwd, const MAT3X3 inv)
void SetInputTrans (const TRANS2D_AFFINE &trans)
void SetInputTransIdentity ()
void SetMaxVertices (INT32 MaxVertices)
ERRVALUE SetOutputBounds (const DRECT2D &boundrect)
ERRVALUE SetOutputMapCoordRefSys (const SPATREF::COORDREFSYS &MapCRS)
void SetOutputMaxError (double maxerror)
ERRVALUE SetOutputTrans (const CTRLPOINT3 *CtrlPoint, INT32 NumPoints, UINT16 Model)
void SetOutputTrans (const MAT3X3 fwd, const MAT3X3 inv)
void SetOutputTrans (const TRANS2D_AFFINE &trans)
void SetOutputTransIdentity ()
void SetPrimaryDirection (DIRECTION direction)
 TRANS2D_MAPGEN (const TRANSPARM &transparm)
 TRANS2D_MAPGEN (const TRANS2D_MAPGEN &rhs)
 TRANS2D_MAPGEN ()
ERRVALUE Update ()
 ~TRANS2D_MAPGEN ()


Detailed Description

Encapsulate TRANSPARM structure and TransGen...() functions.

Definition at line 593 of file trans2dc.h.


Member Enumeration Documentation

enum TRANS2D_MAPGEN::DIRECTION

Transformation direction.

Enumerator:
DIRECTION_Forward 
DIRECTION_Inverse 

Definition at line 597 of file trans2dc.h.


Constructor & Destructor Documentation

TRANS2D_MAPGEN::TRANS2D_MAPGEN (  )  [inline]

Default constructor, create identity transformation.

Definition at line 603 of file trans2dc.h.

TRANS2D_MAPGEN::TRANS2D_MAPGEN ( const TRANS2D_MAPGEN rhs  )  [inline]

Copy constructor.

Definition at line 607 of file trans2dc.h.

TRANS2D_MAPGEN::TRANS2D_MAPGEN ( const TRANSPARM transparm  )  [inline]

Construct from TRANSPARM (allows implicit conversion).

Definition at line 615 of file trans2dc.h.

TRANS2D_MAPGEN::~TRANS2D_MAPGEN (  )  [inline]

Destructor.

Definition at line 623 of file trans2dc.h.


Member Function Documentation

void TRANS2D_MAPGEN::Clear (  )  [inline]

Definition at line 648 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const DRECT2D irect,
DRECT2D orect,
int  sidepoints = 0 
) const [inline]

Perform forward transformation on rectangle.

Parameters:
irect  Input rectangle
orect  Output rectangle
sidepoints  Number of extra points along sides for interpolation

Definition at line 686 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const void *  ipoints,
void *  opoints,
INT32  NumPoints,
int  NumDim 
) const [inline]

Perform forward transformation on generic point array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert
NumDim  Number of dimensions

Definition at line 678 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const DPOINT3D ipoints,
DPOINT3D opoints,
INT32  NumPoints 
) const [inline]

Perform forward transformation on DPOINT3D array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert

Definition at line 671 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const DPOINT2D ipoints,
DPOINT2D opoints,
INT32  NumPoints 
) const [inline]

Perform forward transformation on DPOINT2D array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert

Definition at line 664 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const DPOINT3D ipoint,
DPOINT3D opoint 
) const [inline]

Perform forward transformation on DPOINT3D.

Parameters:
ipoint  Input point
opoint  Output point

Definition at line 658 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertForward ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Perform forward transformation on DPOINT2D.

Parameters:
ipoint  Input point
opoint  Output point

Definition at line 652 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const DRECT2D irect,
DRECT2D orect,
int  sidepoints = 0 
) const [inline]

Perform inverse transformation on rectangle.

Parameters:
irect  Input rectangle
orect  Output rectangle
sidepoints  Number of extra points along sides for interpolation

Definition at line 740 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const void *  ipoints,
void *  opoints,
INT32  NumPoints,
int  NumDim 
) const [inline]

Perform inverse transformation on generic point array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert
NumDim  Number of dimensions

Definition at line 732 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const DPOINT3D ipoints,
DPOINT3D opoints,
INT32  NumPoints 
) const [inline]

Perform inverse transformation on DPOINT3D array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert

Definition at line 725 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const DPOINT2D ipoints,
DPOINT2D opoints,
INT32  NumPoints 
) const [inline]

Perform inverse transformation on DPOINT2D array.

Parameters:
ipoints  Input point array
opoints  Output point array
NumPoints  Number of points to convert

Definition at line 718 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const DPOINT3D ipoint,
DPOINT3D opoint 
) const [inline]

Perform inverse transformation on DPOINT3D.

Parameters:
ipoint  Input point
opoint  Output point

Definition at line 712 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertInverse ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Perform inverse transformation on DPOINT2D.

Parameters:
ipoint  Input point
opoint  Output point

Definition at line 706 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertMapToMapForward ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Convert from input map coordinates to output map coordinates.

Parameters:
ipoint  Point to convert
opoint  Output point

Definition at line 760 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertMapToMapInverse ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Convert from output map coordinates to input map coordinates.

Parameters:
ipoint  Point to convert
opoint  Output point

Definition at line 766 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::ConvertOutputToMap ( const DPOINT2D ipoint,
DPOINT2D opoint 
) const [inline]

Convert from "output" to "map" coordinates.

Parameters:
ipoint  Point to convert
opoint  Output point

Definition at line 772 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyInputToInput ( const TRANS2D_MAPGEN itrans  )  [inline]

Copy MAPGEN "input" parameters to "input" parameters.

Definition at line 789 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyInputToInput ( const TRANSPARM transparm  )  [inline]

Copy TRANSPARM "input" parameters to "input" parameters.

XXX throw an exception

Definition at line 778 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyInputToOutput ( const TRANS2D_MAPGEN itrans  )  [inline]

Copy MAPGEN "input" parameters to "output" parameters.

Definition at line 805 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyInputToOutput ( const TRANSPARM transparm  )  [inline]

Copy TRANSPARM "input" parameters to "output" parameters.

XXX throw an exception

Definition at line 794 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyOutputToInput ( const TRANS2D_MAPGEN itrans  )  [inline]

Copy MAPGEN "output" parameters to "input" parameters.

Definition at line 821 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyOutputToInput ( const TRANSPARM transparm  )  [inline]

Copy TRANSPARM "output" parameters to "input" parameters.

XXX throw an exception

Definition at line 810 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyOutputToOutput ( const TRANS2D_MAPGEN itrans  )  [inline]

Copy MAPGEN "output" parameters to "output" parameters.

Definition at line 837 of file trans2dc.h.

void TRANS2D_MAPGEN::CopyOutputToOutput ( const TRANSPARM transparm  )  [inline]

Copy TRANSPARM "output" parameters to "output" parameters.

XXX throw an exception

Definition at line 826 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::DisectForward ( const DPOINT2D point,
double *  xscale,
double *  yscale,
double *  rotangle = 0,
double *  shearangle = 0,
double  size = 1.0 
) const [inline]

Determine scale/rotation/shear at specified point for forward transformation.

Parameters:
point  Reference point at which values will be computed
xscale  X scale returned (0 if don't need)
yscale  Y scale returned (0 if don't need)
rotangle  Rotation angle in radians returned (0 if don't need)
shearangle  Shear angle in radians returned (0 if don't need)
size  Size of area over which to compute values

Definition at line 842 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::DisectInverse ( const DPOINT2D point,
double *  xscale,
double *  yscale,
double *  rotangle = 0,
double *  shearangle = 0,
double  size = 1.0 
) const [inline]

Determine scale/rotation/shear at specified point for inverse transformation.

Parameters:
point  Reference point at which values will be computed
xscale  X scale returned (0 if don't need)
yscale  Y scale returned (0 if don't need)
rotangle  Rotation angle in radians returned (0 if don't need)
shearangle  Shear angle in radians returned (0 if don't need)
size  Size of area over which to compute values

Definition at line 854 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetAffine ( TRANS2D_AFFINE trans  )  const [inline]

Get affine transformation if available.

Will return error if transformation is not affine.

Parameters:
trans  Affine transformation

Definition at line 874 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetAffine ( MAT3X3  fwd,
MAT3X3  inv 
) const [inline]

Get affine transformation if available.

Will return error if transformation is not affine.

Parameters:
fwd  Forward transformation
inv  Inverse transformation

Definition at line 867 of file trans2dc.h.

const DOUBLE_ARRAY<CTRLPOINT3>& TRANS2D_MAPGEN::GetInputCtrlPoints (  )  const [inline]

Get "input" control points.

Definition at line 879 of file trans2dc.h.

const SPATREF::COORDREFSYS& TRANS2D_MAPGEN::GetInputMapCoordRefSys (  )  const [inline]

Get 'input' map coordinate reference system.

Definition at line 883 of file trans2dc.h.

UINT16 TRANS2D_MAPGEN::GetInputModel (  )  const [inline]

Get input model.

Definition at line 887 of file trans2dc.h.

int TRANS2D_MAPGEN::GetInputTrans ( CTRLPOINT3 **  ctrlpoint  )  const [inline]

Get input transformation as control points.

Will return number of points if any or error

Definition at line 903 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetInputTrans ( MAT3X3  fwd,
MAT3X3  inv 
) const [inline]

Get input transformation as affine.

Definition at line 896 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetInputTrans ( TRANS2D_AFFINE trans  )  const [inline]

Get input transformation as affine.

Parameters:
trans  Affine transformation

Definition at line 891 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetLocalAffine ( const DPOINT2D point,
TRANS2D_AFFINE trans,
double  size = 1.0,
UINT32  flags = 0 
) const [inline]

Get local affine transformation.

Parameters:
trans  Affine transformation

Definition at line 917 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetLocalAffine ( const DPOINT2D point,
MAT3X3  fwd,
MAT3X3  inv,
double  size = 1.0,
UINT32  flags = 0 
) const [inline]

Get local affine transformation.

Parameters:
fwd  Forward transformation
inv  Inverse transformation

Definition at line 908 of file trans2dc.h.

const DOUBLE_ARRAY<CTRLPOINT3>& TRANS2D_MAPGEN::GetOutputCtrlPoints (  )  const [inline]

Get "output" control points.

Definition at line 925 of file trans2dc.h.

const SPATREF::COORDREFSYS& TRANS2D_MAPGEN::GetOutputMapCoordRefSys (  )  const [inline]

Get 'output' map coordinate reference system.

Definition at line 929 of file trans2dc.h.

UINT16 TRANS2D_MAPGEN::GetOutputModel (  )  const [inline]

Get output model.

Definition at line 933 of file trans2dc.h.

int TRANS2D_MAPGEN::GetOutputTrans ( CTRLPOINT3 **  ctrlpoint  )  const [inline]

Get output transformation as control points.

Will return number of points if any or error

Definition at line 949 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetOutputTrans ( MAT3X3  fwd,
MAT3X3  inv 
) const [inline]

Get output transformation as affine.

Definition at line 942 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::GetOutputTrans ( TRANS2D_AFFINE trans  )  const [inline]

Get output transformation as affine.

Parameters:
trans  Affine transformation

Definition at line 937 of file trans2dc.h.

const TRANSPARM& TRANS2D_MAPGEN::GetTransParm (  )  const [inline]

Definition at line 953 of file trans2dc.h.

bool TRANS2D_MAPGEN::IsAffine (  )  const [inline]

Determine if transformation is "affine".

Definition at line 957 of file trans2dc.h.

bool TRANS2D_MAPGEN::IsIdentity ( void   )  const [inline]

Determine if transformation is "identity".

Definition at line 961 of file trans2dc.h.

bool TRANS2D_MAPGEN::IsInputTransIdentity (  )  const [inline]

Determine if 'input' transformation is 'identity'.

Definition at line 965 of file trans2dc.h.

bool TRANS2D_MAPGEN::IsOutputTransIdentity (  )  const [inline]

Determine if 'output' transformation is 'identity'.

Definition at line 969 of file trans2dc.h.

bool TRANS2D_MAPGEN::IsReversible (  )  const [inline]

Determine if transformation is "reversible".

Definition at line 973 of file trans2dc.h.

TRANS2D_MAPGEN::operator const TRANSPARM * (  )  const [inline]

Cast to (const TRANSPARM *).

Definition at line 645 of file trans2dc.h.

TRANS2D_MAPGEN& TRANS2D_MAPGEN::operator= ( const TRANSPARM rhs  )  [inline]

Assignment from TRANSPARM.

Definition at line 637 of file trans2dc.h.

TRANS2D_MAPGEN& TRANS2D_MAPGEN::operator= ( const TRANS2D_MAPGEN rhs  )  [inline]

Assignment from TRANS2D_MAPGEN.

Definition at line 627 of file trans2dc.h.

DEPRECATED ERRVALUE TRANS2D_MAPGEN::ReadGeoreference ( int  fhandle,
RVCINODENUM  inode,
bool  dooutput = false 
) [inline]

Read georeference from RVC object.

Deprecated:
Use RVC::GEOREFERENCE.
Parameters:
fhandle  Open RVC file hadnle
inode  Georeference object inode
dooutput  Use "output" side of transformation

Definition at line 979 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetAffineApproximation ( const DRECT2D rect,
double  tolerance,
UINT32  coord 
) [inline]

Set full transformation to approximated affine if within specified tolerance.

The approximate affine transformation will be retained until the next "Set" method is used at which time the transformation will revert to its "exact" mode (which may also be affine).

Parameters:
rect  Rectangle over which transformation is to be used
tolerance  Tolerance in opposite coordinates from rectangle
coord  Coordinates of rectangle (XXX change to enum)

Definition at line 997 of file trans2dc.h.

void TRANS2D_MAPGEN::SetExtrapolation ( bool  extrapolate  )  [inline]

Set whether to perform extrapolation outside specified bounds.

If extrapolation is not enabled then an exception -may- occur if and attempt is made to convert points outside the previously-specified input/output bounds. This is the default condition and will generally be much faster than extrapolating.

Parameters:
extrapolate  Perform extrapolation if true, don't extrapolate if false

Definition at line 1007 of file trans2dc.h.

void TRANS2D_MAPGEN::SetFullTransAffine ( const TRANS2D_AFFINE trans  )  [inline]

Set entire transformation as affine.

Parameters:
trans  Affine transformation

Definition at line 1012 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetInputBounds ( const DRECT2D boundrect  )  [inline]

Set boundaries for valid transformation in input coordinates.

Parameters:
boundrect  Bounding rectangle in input coordinates

Definition at line 1017 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetInputMapCoordRefSys ( const SPATREF::COORDREFSYS MapCRS  )  [inline]

Set input map coordinate reference system.

Parameters:
MapCRS  Map coordinate reference system

Definition at line 1030 of file trans2dc.h.

void TRANS2D_MAPGEN::SetInputMaxError ( double  maxerror  )  [inline]

Set maximum error for point densification in input coordinates.

Parameters:
maxerror  Maximum error value to set

Definition at line 1022 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetInputTrans ( const CTRLPOINT3 CtrlPoint,
INT32  NumPoints,
UINT16  Model 
) [inline]

Set input transformation from control point array.

Parameters:
CtrlPoint  Control point array
NumPoints  Number of control points
Model  Transformation model

Definition at line 1046 of file trans2dc.h.

void TRANS2D_MAPGEN::SetInputTrans ( const MAT3X3  fwd,
const MAT3X3  inv 
) [inline]

Set input transformation as affine.

Parameters:
fwd  Forward transformation
inv  Inverse transformation

Definition at line 1040 of file trans2dc.h.

void TRANS2D_MAPGEN::SetInputTrans ( const TRANS2D_AFFINE trans  )  [inline]

Set input transformation as affine.

Parameters:
trans  Affine transformation

Definition at line 1035 of file trans2dc.h.

void TRANS2D_MAPGEN::SetInputTransIdentity (  )  [inline]

Set input transformation to identity.

Definition at line 1053 of file trans2dc.h.

void TRANS2D_MAPGEN::SetMaxVertices ( INT32  MaxVertices  )  [inline]

Set maximum number of vertices to insert if densifying points.

Definition at line 1057 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetOutputBounds ( const DRECT2D boundrect  )  [inline]

Set boundaries for valid transformation in output coordinates.

Parameters:
boundrect  Bounding rectangle in output coordinates

Definition at line 1062 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetOutputMapCoordRefSys ( const SPATREF::COORDREFSYS MapCRS  )  [inline]

Set output map coordinate reference system.

Parameters:
MapCRS  Map coordinate reference system

Definition at line 1075 of file trans2dc.h.

void TRANS2D_MAPGEN::SetOutputMaxError ( double  maxerror  )  [inline]

Set maximum error for point densification in output coordinates.

Parameters:
maxerror  Maximum error value to set

Definition at line 1067 of file trans2dc.h.

ERRVALUE TRANS2D_MAPGEN::SetOutputTrans ( const CTRLPOINT3 CtrlPoint,
INT32  NumPoints,
UINT16  Model 
) [inline]

Set output transformation from control point array.

Parameters:
CtrlPoint  Control point array
NumPoints  Number of control points
Model  Transformation model

Definition at line 1091 of file trans2dc.h.

void TRANS2D_MAPGEN::SetOutputTrans ( const MAT3X3  fwd,
const MAT3X3  inv 
) [inline]

Set output transformation as affine.

Definition at line 1085 of file trans2dc.h.