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(); }
public MouseSelector(ClownfishComponent p) { parent = p; }