예제 #1
0
파일: Class303.cs 프로젝트: 15831944/WW
        private void method_3(
            Class374 modelBuilder,
            DxfPolyline3DSpline spline,
            Class285 entityBuilder)
        {
            if (entityBuilder == null)
            {
                return;
            }
            Class301 class301 = entityBuilder as Class301;

            if (class301 == null)
            {
                this.method_4(modelBuilder, (DxfPolyline3DBase)spline, entityBuilder);
            }
            else
            {
                DxfVertex3D handledObject = (DxfVertex3D)class301.HandledObject;
                if (class301.IsSplineControlPoint)
                {
                    spline.ControlPoints.Add(handledObject);
                }
                else
                {
                    spline.ApproximationPoints.Add(handledObject);
                }
            }
        }
예제 #2
0
파일: Class304.cs 프로젝트: 15831944/WW
        private static void smethod_0(DxfPolyfaceMesh mesh, Class285 entityBuilder)
        {
            Class301 class301 = entityBuilder as Class301;

            if (class301 == null)
            {
                return;
            }
            mesh.Vertices.Add((DxfVertex3D)class301.Entity);
        }
예제 #3
0
 private int method_2(DxfPolygonMesh polygonMesh, Class285 entityBuilder, ref int vertexIndex)
 {
     if (entityBuilder != null)
     {
         Class301 class301 = (Class301)entityBuilder;
         polygonMesh.Vertices.Add((DxfVertex3D)class301.Entity);
         ++vertexIndex;
     }
     return(vertexIndex);
 }
예제 #4
0
파일: Class303.cs 프로젝트: 15831944/WW
        private void method_2(Class374 modelBuilder, DxfPolyline3D polyline, Class285 entityBuilder)
        {
            if (entityBuilder == null)
            {
                return;
            }
            Class301 class301 = entityBuilder as Class301;

            if (class301 == null)
            {
                this.method_4(modelBuilder, (DxfPolyline3DBase)polyline, entityBuilder);
            }
            else
            {
                DxfVertex3D handledObject = (DxfVertex3D)class301.HandledObject;
                polyline.Vertices.Add(handledObject);
            }
        }
예제 #5
0
        private void method_3(
            DxfPolygonSplineMesh splineMesh,
            Class285 entityBuilder,
            ref int controlPointIndex,
            ref int approximationPointIndex)
        {
            if (entityBuilder == null)
            {
                return;
            }
            Class301 class301 = (Class301)entityBuilder;

            if (class301.IsSplineControlPoint)
            {
                splineMesh.ControlPoints.Add((DxfVertex3D)class301.Entity);
                ++controlPointIndex;
            }
            else
            {
                splineMesh.ApproximationPoints.Add((DxfVertex3D)class301.Entity);
                ++approximationPointIndex;
            }
        }