Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  movable_complex.h   Sprache: C

 
//
//  movable_complex.h
//  Bistellar
//
//  Created by Alexander Thumm on 07.10.11.
//  Copyright 2011 -. All rights reserved.
//

#ifndef Bistellar_movable_complex_h
#define Bistellar_movable_complex_h

class MovableComplex;

#include <vector>
#include <iostream>
#include "types.h"
#include "face.h"
#include "bistellar_move.h"

class MovableComplex
{
    unsigned int _dimension;
    
    std::vector< face_list_t > _faces;
    std::vector< bistellar_move_option_list_t > _moves;
    
public:
    MovableComplex();
    MovableComplex(const face_list_t & facets, unsigned int dimension);
    
    MovableComplex(const MovableComplex & cpy);
    MovableComplex & operator=(const MovableComplex & cpy);
    
    ~MovableComplex();
    
    unsigned int dimension() const;
    unsigned int f(unsigned int d) const;
    
    bool hasValidMoves(unsigned int codimension) const;
    bistellar_move_list_t validMoves(unsigned int codimension) const;
    void moveComplex(const BistellarMove & move);
    
    // serialization methods
    friend std::ostream & operator<< (std::ostream & os, const MovableComplex & complex);
    friend std::istream & operator>> (std::istream & is, MovableComplex & complex);
    
    // helper functions
    friend void updateBallBoundary(MovableComplex & complex, const face_list_t & ballBoundaryFaces);
    friend void updateMoveValidity(MovableComplex & complex);
};

#endif

88%


¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge