<CylinderIsoSurface />

Doxygen: SofaCaribou::topology::CylinderIsoSurface

Implicit surface of a circle to be used with level-set compatible components such as the <FictitiousGrid />.

Attribute

Format

Default

Description

radius

float

1.0

Radius of the cylinder.

length

float

5.0

length of the cylinder.

center

list

[0, 0, 0]

Coordinates at the center of cylinder.

Quick example

XML

<Node>
    <CylinderIsoSurface radius="10" length="200" center="0 0 0" />
    <FictitiousGrid name="grid" template="Vec3d" n="9 9 19" min="-5 -5 -100" max="5 5 100" draw_boundary_cells="1" printLog="1" />
</Node>

Python

node.addObject('CylinderIsoSurface', radius=10, length=200, center=[0, 0, 0])
node.addObject('FictitiousGrid',
               template='Vec3d',
               name='grid',
               n=[9, 9, 19],
               min=[-5, -5, -100],
               max=[+5, +5, +100],
               printLog=True,
               draw_boundary_cells=True,
               )

Available python bindings

None at the moment.