Exemplo n.º 1
0
        public MarchingQuads(int nSubdivisions, AxisAlignedBox2f bounds, float fIsoValue)
        {
            m_stroke = new DPolyLine2f();
            m_bounds = new AxisAlignedBox2f();

            m_nCells = nSubdivisions;
            SetBounds(bounds);

            m_cells = null;
            InitializeCells();

            m_seedPoints = new ArrayList();
            m_cellStack  = new ArrayList();

            m_bEdgeSigns = new bool[4];

            m_fIsoValue = fIsoValue;
        }
Exemplo n.º 2
0
 public DPolyLine2f(DPolyLine2f copy)
 {
     m_vertices = new List <Vertex>(copy.m_vertices);
     m_edges    = new List <Edge>(copy.m_edges);
 }