OOFEM 3.0
Loading...
Searching...
No Matches
Model Struct Reference

#include <CSG.h>

Public Types

using Index = int

Public Member Functions

Index AddVertex (const Vertex &newv)
double volume () const

Public Attributes

std::vector< Vertexvertices
std::vector< Indexindices

Detailed Description

Definition at line 202 of file CSG.h.

Member Typedef Documentation

◆ Index

using Model::Index = int

Definition at line 204 of file CSG.h.

Member Function Documentation

◆ AddVertex()

Index Model::AddVertex ( const Vertex & newv)
inline

Definition at line 209 of file CSG.h.

References vertices.

Referenced by modelfrompolygons().

◆ volume()

double Model::volume ( ) const
inline

Definition at line 223 of file CSG.h.

References cross(), dot(), indices, Vertex::pos, vertices, and volume().

Referenced by Printer::handleG1Command(), and volume().

Member Data Documentation

◆ indices

std::vector<Index> Model::indices

Definition at line 207 of file CSG.h.

Referenced by addMissingVertices(), modelfrompolygons(), modeltopolygons(), volume(), and writeSTL().

◆ vertices

std::vector<Vertex> Model::vertices

Definition at line 206 of file CSG.h.

Referenced by addMissingVertices(), AddVertex(), modeltopolygons(), volume(), and writeSTL().


The documentation for this struct was generated from the following file:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011