>  Docs Center  >  Libraries  >  Motley  >  MGHGRLEGOSURFACE__DEFINE

MGHGRLEGOSURFACE__DEFINE

MGHGRLEGOSURFACE__DEFINE

Class Name



  MGHgrLegoSurface

Purpose



  A surface class that acts sanely when the STYLE property is set to
  one of the Lego values (5 or 6).

Properties



  This class supports all the properties of MGHgrSurface, with a few
  differences in the behaviour of the DATAX, DATAY, DATAZ and STYLE
  properties.
    - For lego surfaces (STYLE equals 5 or 6), DATAZ is dimensioned
      according to the number of visible cells, not the the number
      of vertices. DATAX and DATAY still specify vertex positions
      and are dimensioned according to the number of vertices. Thus
      for a lego surface with m x n vertices, DATAX is
      dimensioned [m] or [m,n], DATAY is dimensioned [n] or [m,n]
      and DATAZ is dimensioned [m-1,n-1].
###########################################################################
  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, 2002-07:
    Written.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us