source: cpp/frams/model/geometry/modelgeometryinfo.h @ 546

Last change on this file since 546 was 286, checked in by Maciej Komosinski, 10 years ago

Updated headers

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#ifndef _MODELGEOMETRYINFO_H_
6#define _MODELGEOMETRYINFO_H_
7
8#include <frams/model/model.h>
9#include <frams/util/3d.h>
10#include <frams/util/list.h>
11
12namespace ModelGeometryInfo
13{
14        void findSizesAndAxesOfModel(const Model &model, const double density, Pt3D &sizes,
15                Orient &axes);
16        bool boundingBox(const Model &model, Pt3D &lowerBoundary, Pt3D &upperBoundary);
17        void boundingBox(const Part *part, Pt3D &lowerBoundary, Pt3D &upperBoundary);
18        double volume(const Model &model, const double density);
19        double area(const Model &model, const double density);
20        double externalAreaOfPart(const Model &model, const int partIndex, const double density);
21        double externalAreaOfEllipsoid(const Model &model, const int partIndex, const double density);
22        double externalAreaOfCuboid(const Model &model, const int partIndex, const double density);
23        double externalAreaOfCylinder(const Model &model, const int partIndex, const double density);
24}
25
26#endif
Note: See TracBrowser for help on using the repository browser.