2024-09-22 11:05:41 +08:00
|
|
|
|
using Autodesk.Revit.DB;
|
|
|
|
|
|
|
2025-04-24 20:56:44 +08:00
|
|
|
|
namespace ShrlAlgoToolkit.RevitAddins.RvCivil
|
2024-09-22 11:05:41 +08:00
|
|
|
|
{
|
|
|
|
|
|
internal class Rotation
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 旋转角度
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public double Radian { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 对齐的轴
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public Orientation Orientation { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 对齐边与轴角度最小的对齐边的方向
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public XYZ Direction { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 对齐UV轴的方向
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public XYZ CoordSystemAxis { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public enum Orientation
|
|
|
|
|
|
{
|
|
|
|
|
|
U,
|
|
|
|
|
|
V
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|