示例1: pointOffset ▲点赞 7▼ publicList<Point3d> pointOffset(Point3d point1, Point3d point2,double offset) { Line line =newLine(point1,point2);List<Point3d> returnList =newList<Point3d>(); DBObjectCollection offsetLine =newDBObjectCollection();try{ offsetLine = line.GetOffsetCurves(off...
Polyline pl1Offset = pl1.GetOffsetCurves(offsetValue)[0]asPolyline; AddToDrawing(pl1Offset);//debugif(i ==1)//第一点,且当前曲线并不是封闭的{ newLine.AddVertexAt(0,newPoint2d(pl1Offset.StartPoint.X, pl1Offset.StartPoint.Y),0,0,0);if(line.NumberOfVertices ==2)//如果只是一条线的话{...
示例1: pointOffset ▲点赞 7▼ publicList<Point3d> pointOffset(Point3d point1, Point3d point2,double offset) { Line line =newLine(point1,point2);List<Point3d> returnList =newList<Point3d>(); DBObjectCollection offsetLine =newDBObjectCollection();try{ offsetLine = line.GetOffsetCurves(off...