Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
using System;
using System.Linq;
using STPLoader.Implementation.Parser;
namespace STPLoader.Implementation.Model.Entity
{
/// <summary>
///
/// </summary>
public class CylindricalSurface : Surface
{
/// <summary>
///
/// </summary>
public string Info;
/// <summary>
///
/// </summary>
public long PointId;
public double Radius;
public override void Init()
{
Info = ParseHelper.Parse<string>(Data[0]);
PointId = ParseHelper.ParseId(Data[1]);
Radius = ParseHelper.Parse<double>(Data[2]);
}
public override string ToString()
{
return String.Format("<CylindricalSurface({0}, {1}, {2})", Info, PointId, Radius);
}
}
}