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

📄 gdfnoderecord.java

📁 linux下用于移动节点的移动活动生成工具
💻 JAVA
字号:
package de.uni_stuttgart.informatik.canu.gdfreader;

/**
 * <p>Title: GDF Reader</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2002</p>
 * <p>Company: University of Stuttgart</p>
 * @author Illya Stepanov
 * @version 1.1
 */

/**
 * Node Record
 * @author Illya Stepanov 
 */
public class GDFNodeRecord implements Loadable
{
  /**
   * Parent GDF Section object
   */
  protected GDFSection section;

  /**
   * Node Location ID
   */
  String pointID;

  /**
   * Node Location
   */
  GDFXYZRecord point;

  /**
   * Face ID, which contains the Node
   */
  String faceID;

  /**
   * Face, which contains the Node
   */
  GDFFaceRecord face;

  /**
   * Constructor
   * @param section parent GDF Section object
   */
  public GDFNodeRecord(GDFSection section)
  {
    this.section = section;
  }

  /**
   * Loads the Node Record
   */
  public void load() throws Exception
  {
    pointID = section.reader.getNextField(10);
    faceID = section.reader.getNextField(10);
  }

  /**
   * Resolves "lazy" links
   */
  public void initialise()
  {
    point = (GDFXYZRecord)section.coordinates.get(pointID);
    face = (GDFFaceRecord)section.faces.get(faceID);
  }
}

⌨️ 快捷键说明

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