⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pointobj.java

📁 Welcome to MS4W, the no fuss installer for setting up MapServer on Microsoft Windows platforms. The
💻 JAVA
字号:
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.21 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package edu.umn.gis.mapscript;public class pointObj {  private long swigCPtr;  protected boolean swigCMemOwn;  protected pointObj(long cPtr, boolean cMemoryOwn) {    swigCMemOwn = cMemoryOwn;    swigCPtr = cPtr;  }  protected pointObj() {    this(0, false);  }  protected void finalize() {    delete();  }  public void delete() {    if(swigCPtr != 0 && swigCMemOwn) {      swigCMemOwn = false;      mapscriptJNI.delete_pointObj(swigCPtr);    }    swigCPtr = 0;  }  protected static long getCPtr(pointObj obj) {    return (obj == null) ? 0 : obj.swigCPtr;  }  public void setX(double x) {    mapscriptJNI.set_pointObj_x(swigCPtr, x);  }  public double getX() {    return mapscriptJNI.get_pointObj_x(swigCPtr);  }  public void setY(double y) {    mapscriptJNI.set_pointObj_y(swigCPtr, y);  }  public double getY() {    return mapscriptJNI.get_pointObj_y(swigCPtr);  }  public int project(projectionObj projin, projectionObj projout) {    return mapscriptJNI.pointObj_project(swigCPtr, projectionObj.getCPtr(projin), projectionObj.getCPtr(projout));  }  public int draw(mapObj map, layerObj layer, imageObj image, int classindex, String text) {    return mapscriptJNI.pointObj_draw(swigCPtr, mapObj.getCPtr(map), layerObj.getCPtr(layer), imageObj.getCPtr(image), classindex, text);  }  public double distanceToPoint(pointObj point) {    return mapscriptJNI.pointObj_distanceToPoint(swigCPtr, pointObj.getCPtr(point));  }  public double distanceToSegment(pointObj a, pointObj b) {    return mapscriptJNI.pointObj_distanceToSegment(swigCPtr, pointObj.getCPtr(a), pointObj.getCPtr(b));  }  public double distanceToShape(shapeObj shape) {    return mapscriptJNI.pointObj_distanceToShape(swigCPtr, shapeObj.getCPtr(shape));  }  public int setXY(double x, double y, double m) {    return mapscriptJNI.pointObj_setXY(swigCPtr, x, y, m);  }  public int setXYZ(double x, double y, double z, double m) {    return mapscriptJNI.pointObj_setXYZ(swigCPtr, x, y, z, m);  }  public int setXYZM(double x, double y, double z, double m) {    return mapscriptJNI.pointObj_setXYZM(swigCPtr, x, y, z, m);  }  public String toString() {    return mapscriptJNI.pointObj_toString(swigCPtr);  }  public pointObj(double x, double y, double z, double m) {    this(mapscriptJNI.new_pointObj__SWIG_0(x, y, z, m), true);  }  public pointObj(double x, double y, double z) {    this(mapscriptJNI.new_pointObj__SWIG_1(x, y, z), true);  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -