>  Docs Center  >  Libraries  >  Motley  >  MGH_DEST_POSITION
Libraries

MGH_DEST_POSITION

MGH_DEST_POSITION

Name


  MGH_DEST_POSITION

Purpose


  Convert from viewplane to destination-object coordinates.
  For a specified view & destination object, given a position on the
  viewplane, calculate & return the corresponding position on the
  destination device.

Category


  Object Graphics.

Positional Parameters


  position (input, 2-element vector)
    A position on the viewplane.
  oview (input, scalar object reference)
    View object
  odest (input, scalar object reference)
    Destination object

Keyword Parameters


    UNITS (input, integer)
      This keyword specified the units of the result (0 = pixels, 1 =
      inches, 2 = cm). Default is 0.
###########################################################################
  This software is provided subject to the following conditions:
  1. NIWA makes no representations or warranties regarding the
    accuracy of the software, the use to which the software may
    be put or the results to be obtained from the use of the
    software. Accordingly NIWA accepts no liability for any loss
    or damage (whether direct of indirect) incurred by any person
    through the use of or reliance on the software.
  2. NIWA is to be acknowledged as the original author of the
    software where the software is used or presented in any form.
###########################################################################

Modification History


  Mark Hadfield, 2001-07:
    Written as a generalisation of MGH_NORM_DIMENSIONS.
  Mark Hadfield, 2002-10:
    Updated for IDL 5.6.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us