Esempio n. 1
0
        public SelectionGeometry(Brep b, ClownfishComponent c)
        {
            brep     = b;
            selected = false;
            parent   = c;

            brep_renderMesh = new Mesh();

            face_renderMesh = Mesh.CreateFromBrep(b, MeshingParameters.FastRenderMesh);
            foreach (Mesh m in face_renderMesh)
            {
                brep_renderMesh.Append(m);
            }

            face_selected   = new bool[face_renderMesh.Length];
            face_parameters = new double[face_renderMesh.Length];

            Subscribe();
        }
Esempio n. 2
0
 public MouseSelector(ClownfishComponent p)
 {
     parent = p;
 }