Class Shape

java.lang.Object
com.agisoft.metashape.Shape

public class Shape extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • Shape

      public Shape(long cPtr, boolean cMemoryOwn)
    • Shape

      public Shape(Shape shape)
  • Method Details

    • getCPtr

      public static long getCPtr(Shape obj)
    • finalize

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

      public void delete()
    • cArrayUnwrap

      public static long[] cArrayUnwrap(Shape[] arrayWrapper)
    • cArrayWrap

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

      public int getKey()
      Shape identifier.
    • setBoundaryType

      public void setBoundaryType(Shape.BoundaryType type)
      Shape boundary type.
    • getBoundaryType

      public Shape.BoundaryType getBoundaryType()
      Shape boundary type.
    • setLabel

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

      public String getLabel()
      Shape label.
    • setSelected

      public void setSelected(boolean state)
      Selects/deselects the shape.
    • isSelected

      public boolean isSelected()
      Selects/deselects the shape.
    • setGroup

      public void setGroup(ShapeGroup group)
      Shape group.
    • getGroup

      public ShapeGroup getGroup()
      Shape group.
    • isAttached

      public boolean isAttached()
      Attached shape state.
    • is3D

      public boolean is3D()
      True if shape has Z coordinate values.
    • setGeometry

      public void setGeometry(Geometry geometry)
      Geometry for the non-attached shape.
    • getGeometry

      public Geometry getGeometry()
      Geometry for the non-attached shape.
    • setAttachedGeometry

      public void setAttachedGeometry(AttachedGeometry geometry)
      Geometry for the attached shape.
    • getAttachedGeometry

      public AttachedGeometry getAttachedGeometry()
      Geometry for the attached shape.