Ejemplo n.º 1
0
        public Point3d[] GetPoints()
        {
            Point3d[] points = new Point3d[0];

            foreach (CurvePropertyType curveType in this.curveMember)
            {
                switch (curveType.AbstractCurve)
                {
                case CompositeCurveType cct:
                    throw new NotImplementedException();

                case CurveType ct:
                    throw new NotImplementedException();

                case LineStringType lst:
                    IPointParser pointParser = lst as IPointParser;
                    points = points.ConcatAr(pointParser.GetPoints());
                    break;

                case OrientableCurveType oct:
                    throw new NotImplementedException();

                default:
                    break;
                }
            }

            return(points);
        }
Ejemplo n.º 2
0
 public Point3d[] GetPoints()
 {
     Point3d[] points = new Point3d[0];
     foreach (IPointParser pointParser in this.Items)
     {
         points = points.ConcatAr(pointParser.GetPoints());
     }
     return(points);
 }