PeriDEM 0.3.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
Loading...
Searching...
No Matches
primitiveOccMesh.h
Go to the documentation of this file.
1/*
2 * -------------------------------------------
3 * Copyright (c) 2021 - 2026 Prashant K. Jha
4 * -------------------------------------------
5 * PeriDEM https://github.com/prashjha/PeriDEM
6 *
7 * Distributed under the Boost Software License, Version 1.0. (See accompanying
8 * file LICENSE)
9 */
10
11#ifndef MESH_GEN_PRIMITIVE_OCC_MESH_H
12#define MESH_GEN_PRIMITIVE_OCC_MESH_H
13
14namespace geom {
15class Cylinder;
16class Ellipse;
17class Ellipsoid;
18}
19
20namespace mesh_gen {
21
23void buildCylinderOcc(const geom::Cylinder &c);
24
26void buildEllipseOcc(const geom::Ellipse &e, double h);
27
30
31} // namespace mesh_gen
32
33#endif
Defines cylinder.
Filled ellipse in the plane z = center.d_z, semi-axes in the xy plane.
Ellipsoid: center , semi-axes in a body frame rotated from world by axis–angle (Rodrigues)....
void buildEllipsoidOcc(const geom::Ellipsoid &e)
void buildEllipseOcc(const geom::Ellipse &e, double h)
void buildCylinderOcc(const geom::Cylinder &c)