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); } } }
private static void smethod_0(DxfPolyfaceMesh mesh, Class285 entityBuilder) { Class301 class301 = entityBuilder as Class301; if (class301 == null) { return; } mesh.Vertices.Add((DxfVertex3D)class301.Entity); }
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); }
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); } }
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; } }