Class ShapeGroup

java.lang.Object
com.agisoft.metashape.ShapeGroup

public class ShapeGroup
extends Object
Shape group.

ShapeGroup objects define groups of multiple shapes. The grouping is established by
assignment of a ShapeGroup instance to the Shape.group attribute of participating shapes.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • ShapeGroup

      public ShapeGroup​(long cPtr, boolean cMemoryOwn)
    • ShapeGroup

      public ShapeGroup​(ShapeGroup group)
  • Method Details

    • getCPtr

      public static long getCPtr​(ShapeGroup obj)
    • finalize

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

      public void delete()
    • cArrayUnwrap

      public static long[] cArrayUnwrap​(ShapeGroup[] arrayWrapper)
    • cArrayWrap

      public static ShapeGroup[] cArrayWrap​(long[] cArray, boolean cMemoryOwn)
    • getKey

      public int getKey()
      Shape group identifier.
    • setLabel

      public void setLabel​(String label)
      Shape group label.
    • getLabel

      public String getLabel()
      Shape group label.
    • setEnabled

      public void setEnabled​(boolean state)
      Enable flag.
    • isEnabled

      public boolean isEnabled()
      Enable flag.
    • setSelected

      public void setSelected​(boolean state)
      Current selection state.
    • isSelected

      public boolean isSelected()
      Current selection state.