Class ImportShapes

java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ImportShapes

public class ImportShapes
extends Task
Task class containing processing parameters.
  • Constructor Details

    • ImportShapes

      protected ImportShapes​(long cPtr, boolean cMemoryOwn)
    • ImportShapes

      public ImportShapes()
  • Method Details

    • getCPtr

      protected static long getCPtr​(ImportShapes obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Task
    • delete

      public void delete()
      Overrides:
      delete in class Task
    • setBoundaryType

      public void setBoundaryType​(Shape.BoundaryType value)
      Boundary type to be applied to imported shapes. Default: Shape.BoundaryType.NoBoundary
    • getBoundaryType

      public Shape.BoundaryType getBoundaryType()
      Boundary type to be applied to imported shapes. Default: Shape.BoundaryType.NoBoundary
    • setColumns

      public void setColumns​(String value)
      Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group).
    • getColumns

      public String getColumns()
      Column order in csv format (n - label, x/y/z - coordinates, d - description, [] - group of multiple values, | - column separator within group).
    • setCRS

      public void setCRS​(CoordinateSystem value)
      Reference data coordinate system (csv format only).
    • getCRS

      public CoordinateSystem getCRS()
      Reference data coordinate system (csv format only).
    • setDelimiter

      public void setDelimiter​(String value)
      Column delimiter in csv format.
    • getDelimiter

      public String getDelimiter()
      Column delimiter in csv format.
    • setFormat

      public void setFormat​(ShapesFormat value)
      Shapes format. Default: ShapesFormat.ShapesFormatNone
    • getFormat

      public ShapesFormat getFormat()
      Shapes format. Default: ShapesFormat.ShapesFormatNone
    • setGroupDelimiters

      public void setGroupDelimiters​(boolean value)
      Combine consequitive delimiters in csv format. Default: false
    • getGroupDelimiters

      public boolean getGroupDelimiters()
      Combine consequitive delimiters in csv format. Default: false
    • setPath

      public void setPath​(String value)
      Path to shape file.
    • getPath

      public String getPath()
      Path to shape file.
    • setReplace

      public void setReplace​(boolean value)
      Replace current shapes with new data. Default: false
    • getReplace

      public boolean getReplace()
      Replace current shapes with new data. Default: false
    • setSkipRows

      public void setSkipRows​(int value)
      Number of rows to skip in (csv format only). Default: 0
    • getSkipRows

      public int getSkipRows()
      Number of rows to skip in (csv format only). Default: 0