Class OrthoProjection

java.lang.Object
com.agisoft.metashape.OrthoProjection
All Implemented Interfaces:
AutoCloseable

public class OrthoProjection extends Object implements AutoCloseable
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • OrthoProjection

      protected OrthoProjection(long cPtr, boolean cMemoryOwn)
    • OrthoProjection

      public OrthoProjection()
    • OrthoProjection

      public OrthoProjection(OrthoProjection ortho_projection)
  • Method Details

    • getCPtr

      protected static long getCPtr(OrthoProjection obj)
    • finalize

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

      public void delete()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • setCoordinateSystem

      public void setCoordinateSystem(CoordinateSystem crs)
      Base coordinate system.
    • getCoordinateSystem

      public CoordinateSystem getCoordinateSystem()
      Base coordinate system.
    • setTransform

      public void setTransform(Matrix transform)
      Ortho transformation matrix.
    • getTransform

      public Matrix getTransform()
      Ortho transformation matrix.
    • setType

      public void setType(OrthoProjection.Type type)
      Projection type.
    • getType

      public OrthoProjection.Type getType()
      Projection type.
    • setRadius

      public void setRadius(double radius)
      Cylindrical projection radius.
    • getRadius

      public double getRadius()
      Cylindrical projection radius.
    • getAuthority

      public String getAuthority()
    • getWkt

      public String getWkt()
    • getProj4

      public String getProj4()
    • init

      public boolean init(String wkt)
    • project

      public Vector project(Vector pt)
    • unproject

      public Vector unproject(Vector pt)
    • localframe

      public Matrix localframe(Vector pt)
    • transform

      public static Vector transform(Vector point, OrthoProjection source, OrthoProjection target)
      Transform point coordinates between coordinate systems.
      Parameters:
      point - Point coordinates.
      source - Source coordinate system.
      target - Target coordinate system.
      Returns:
      Transformed point coordinates.