Beispiel #1
0
        unsafe public override void postConstructor()
        //	Description:
        //		Constructor: register the triangulation function. 
        //
        {
            // Register the triangulation function.
            // The string given as a first parameter has to be
            // the same as the name given when setting the usrTrg
            // attribute on the mesh. See example above.
            // 
            HandleRef polyHandle = polyTrgNode.getCPtr(this);

            del = new MxPolyTrgFnct(polyTrgNode.triangulateFace);
            
            string name = "triangulate";
            registerTrgFunction(name, del);
        }
Beispiel #2
0
        unsafe public override void postConstructor()
        //	Description:
        //		Constructor: register the triangulation function.
        //
        {
            // Register the triangulation function.
            // The string given as a first parameter has to be
            // the same as the name given when setting the usrTrg
            // attribute on the mesh. See example above.
            //
            HandleRef polyHandle = polyTrgNode.getCPtr(this);

            del = new MxPolyTrgFnct(polyTrgNode.triangulateFace);

            string name = "triangulate";

            registerTrgFunction(name, del);
        }