sculpto
Main Page
Namespaces
Classes
Files
File List
File Members
core
resources
topology
sphere.h
Go to the documentation of this file.
1
/*!****************************************************************/
/*!*
2
* \file sphere.h
3
* \brief Topology sphere object class implementation module.
4
*
5
* \author Sabitov Kirill
6
* \date 30 June 2022
7
*********************************************************************/
8
9
#pragma once
10
11
#include "
grid.h
"
12
13
namespace
scl::topology
14
{
16
class
sphere
:
public
grid
17
{
18
public
:
19
/*!*
20
* Sphere topolgy obejct constructor by center point and radius.
21
*
22
* \param Center - sphere center point.
23
* \param Radius - sphere radius.
24
* \param Slices - sphere mesh slices count.
25
*/
26
sphere
(
const
vec3
&Center,
float
Radius,
int
Slices);
27
29
~sphere
()
override
=
default
;
30
};
31
}
scl::math::vec3< float >
scl::topology::grid
Definition:
grid.h:18
scl::topology::sphere
Definition:
sphere.h:17
scl::topology::sphere::~sphere
~sphere() override=default
scl::topology::sphere::sphere
sphere(const vec3 &Center, float Radius, int Slices)
Definition:
sphere.cpp:12
grid.h
Topology grid object class definition module.
scl::topology
Definition:
basis.h:15
Generated by
1.9.4