Example #1
0
        private static IBHoMObject SetRendermesh(this IBHoMObject bHoMObject, List <Mesh> representation)
        {
            Mesh       m  = Compute.JoinMeshes(representation);
            RenderMesh rm = m.ToRenderMesh();

            return(bHoMObject.SetRendermesh(m));
        }
Example #2
0
        private static IBHoMObject SetRendermesh(this IBHoMObject bHoMObject, Mesh representation)
        {
            RenderMesh rm = representation.ToRenderMesh();

            return(bHoMObject.SetRendermesh(rm));
        }