Ignore:
Timestamp:
Sep 28, 2009, 8:00:33 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
fca6e7
Parents:
bb56cf
git-author:
Frederik Heber <heber@…> (09/28/09 18:47:54)
git-committer:
Frederik Heber <heber@…> (09/28/09 20:00:33)
Message:

Various fixes and attempt to get convex hull working.

Moved tesselation writing to tesselation.cpp

  • WriteVrmlFile(), WriteRaster3dFile(), WriteTecplotFile() moved to tesselation.cpp
  • these also don't use molecule anymore, but the PointCloud structure (hence, bonds are no more visible)
  • new function TesselStruct::Output() which performs the writing
  • new function InsertSphereInRaster3D(), which places a sphere at the position of the last triangle
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/tesselationhelpers.hpp

    rbb56cf r60cbe5  
    2525
    2626#include "defs.hpp"
     27#include "tesselation.hpp"
    2728#include "vector.hpp"
    2829
     
    3738bool existsIntersection(Vector point1, Vector point2, Vector point3, Vector point4);
    3839double CalculateVolumeofGeneralTetraeder(Vector *a, Vector *b, Vector *c, Vector *d);
     40double GetAngle(const Vector &point, const Vector &reference, const Vector OrthogonalVector);
     41
     42bool CheckLineCriteriaForDegeneratedTriangle(class BoundaryPointSet *nodes[3]);
     43bool SortCandidates(class CandidateForTesselation* candidate1, class CandidateForTesselation* candidate2);
     44TesselPoint* FindClosestPoint(const Vector* Point, TesselPoint *&SecondPoint, LinkedCell* LC);
     45TesselPoint* FindSecondClosestPoint(const Vector*, LinkedCell*);
     46Vector * GetClosestPointBetweenLine(ofstream *out, class BoundaryLineSet *Base, class BoundaryLineSet *OtherBase);
     47
     48void WriteTecplotFile(ofstream *out, ofstream *tecplot, class Tesselation *TesselStruct, PointCloud *cloud, int N);
     49void WriteRaster3dFile(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     50void IncludeSphereinRaster3D(ofstream *out, ofstream *rasterfile, class Tesselation *Tess, PointCloud *cloud);
     51void WriteVrmlFile(ofstream *out, ofstream *vrmlfile, class Tesselation *Tess, PointCloud *cloud);
    3952
    4053
Note: See TracChangeset for help on using the changeset viewer.