Loading files
This 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 ConicalSurface : Surface
{
/// <summary>
///
/// </summary>
public string Info;
/// <summary>
///
/// </summary>
public long PointId;
public double Radius;
public double Radius2;
public override void Init()
{
Info = ParseHelper.Parse<string>(Data[0]);
PointId = ParseHelper.ParseId(Data[1]);
Radius = ParseHelper.Parse<double>(Data[2]);
Radius2 = ParseHelper.Parse<double>(Data[3]);
}
public override string ToString()
{
return String.Format("<ConicalSurface({0}, {1}, {2}, {3})", Info, PointId, Radius, Radius2);
}
}
}
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.