>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  VCLIP
Libraries

VCLIP

VCLIP

Name


      VCLIP

Purpose


      Clip a vector to a clipping window.

Category


Calling Sequence


      vclip,x1,y1,x2,y2

Inputs


      x1=[xa,xb] Input vector endpoint x coordinates. in
      y1=[yy,yb] Input vector endpoint y coordinates. in

Keyword Parameters


Keywords


        XRANGE=[xlo,xhi] Clipping window x coordinates (def=[0,1]).
        YRANGE=[ylo,yhi] Clipping window x coordinates (def=[0,1]).
        FLAG=flg flag for clipped result:
            0=no part in window, 1=some part in window.

Outputs


      x2=[xc,xd] Output vector endpoint x coordinates. out
      y2=[yc,yd] Output vector endpoint y coordinates. out

Common Blocks


Notes


Modification History


      R. Sterner, 1995 Dec 5
      R. Sterner, 2010 Jun 04 --- Converted arrays from () to [].
  Copyright (C) 1995, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



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