📄 gdfnoderecord.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 + -