} // default constructor needed to keep XMLSerialization working. DO NOT REMOVE public GeoObj(string figName, Vector3 position, GeoObjDef def, GeoObjType type) { this.figName = figName; this.position = position; this.definition = def; this.type = type; this.constructionIndex = int.Parse(new string (figName.ToCharArray().Where(c => Char.IsDigit(c)).ToArray())); this.currTime = System.DateTime.Now; if (alphabetLabel.firstLabelMade && alphabetLabel.labelDict.ContainsKey(figName)) { this.label = alphabetLabel.labelDict[figName]; } }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.revSurf revSurf, GeoObjDef def, List <string> dependencyList, GeoObjType type) : this(name, position, rotation, def, type) { this.revSurfData = revSurf; this.dependencies = dependencyList; }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.prism prismData, GeoObjDef def, GeoObjType type) : this(name, position, rotation, def, type) { this.prismData = prismData; }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.sphere sphere, GeoObjDef def, List <string> dependencyList, GeoObjType type) : this(name, position, rotation, def, type) { this.sphereData = sphere; this.dependencies = dependencyList; this.type = type; }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.pyramid pyramid, GeoObjDef def, List <string> dependencyList, GeoObjType type) : this(name, position, rotation, def, type) { this.pyramidData = pyramid; this.dependencies = dependencyList; this.type = type; }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.polygon polygon, GeoObjDef def, List <string> dependencyList, GeoObjType type) : this(name, position, rotation, def, type) { this.polygonData = polygon; this.dependencies = dependencyList; }
public GeoObj(string name, Vector3 position, Quaternion rotation, figData.line line, GeoObjDef def, List <string> dependencyList, GeoObjType type) : this(name, position, def, type) { this.rotation = rotation; this.dependencies = dependencyList; this.lineData = line; }
public GeoObj(string name, Vector3 position, Quaternion rotation, GeoObjDef def, GeoObjType type) : this(name, position, def, type) { this.rotation = rotation; }