// ConicalSculptor _conicalSculptor; // BarSculptor _barSculptor; /// <summary> /// Initializes the Points and Triangles collections. /// Called By Sculptor.BuildMesh() /// </summary> protected override void CreateTriangles() { // ConicalSculptor conicalSculptor = new ConicalSculptor(4, 0.0, 0.5); ConicalSculptor _conicalSculptor = new ConicalSculptor(40, 0.0, 0.0); _conicalSculptor.BuildMesh(); Transform3DGroup tgHead = new Transform3DGroup(); tgHead.Children.Add(new ScaleTransform3D(0.2, 0.2, 0.2)); tgHead.Children.Add(new TranslateTransform3D(0.0, 0.0, _length - 1.0 + 0.8)); _conicalSculptor.Transform(tgHead); CopyFrom(_conicalSculptor); BarSculptor _barSculptor = new BarSculptor(); // barSculptor.Initialize(4, 0.0, 0.5); _barSculptor.Initialize(40, 0.0, 0.0); _barSculptor.BuildMesh(); _barSculptor.Transform(new ScaleTransform3D(0.1, 0.1, _length - 1.0 + 0.8)); CopyFrom(_barSculptor); }