/// <summary> /// Get the width of the column /// </summary> /// <returns>the width data</returns> private double GetColumnWidth() { XYZHeightComparer comparer = new XYZHeightComparer(); m_points.Sort(comparer); Autodesk.Revit.DB.XYZ refPoint = m_points[0]; List <Autodesk.Revit.DB.XYZ> directions = GetRelatedVectors(refPoint); directions.Sort(comparer); return(GeomUtil.GetLength(directions[1])); }
/// <summary> /// Get the length of driving line /// </summary> /// <returns>the length of the driving line</returns> protected double GetDrivingLineLength() { return(GeomUtil.GetLength(m_drivingVector)); }