RevCone
#
A revolution cone is a revolution trunk where second radius is equal to 0 (RevCone
class inherits from RevTrunk
class).
To define a:cpp:class:~xlifepp::RevCone geometry, give a center, a radius, and an apex, through parameters _center
, _radius
and _apex
. _center
and _apex
parameters take a point
or a single value (in this case, it is like a 1D point), whereas _radius
parameter takes a single positive value.
As RevTrunk
, RevCone
offers you more the ability to add an extension to the basis of a revolution cone. See RevTrunk for how to define this extension.
To do so, use parameters _end_shape
, taking a GeometricEndShape
, and _end_distance
, taking one single positive value.
_nnodes
parameter can take one single value, an explicit list of 2 or Numbers
object, where _hsteps
parameter can take one real value, an explicit list of Reals
object, where
You also have an additional parameter, _nbsubdomains
, enabling you to slice the main cone (without its extension) in as many domains as you want.
Let’s summarize information about geometrical keys on revolution cones:
key(s) |
authorized types |
examples |
---|---|---|
|
|
|
|
single unsigned integer or real positive value |
|
|
enum |
|
|
single unsigned integer or real positive value |
|
|
single unsigned integer value |
|