<CircleIsoSurface />

Doxygen: SofaCaribou::topology::CircleIsoSurface

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 sphere.

center

list

[0, 0, 0]

Coordinates at the center of the sphere.

Quick example

XML

<Node>
    <CircleIsoSurface radius="5" center="0 0" />
    <FictitiousGrid name="grid" template="Vec2d" n="4 4" min="-5 -5" max="5 5" draw_boundary_cells="1" printLog="1" />
</Node>

Python

node.addObject('CircleIsoSurface', radius=5, center=[0, 0])
node.addObject('FictitiousGrid',
               template='Vec2d',
               name='grid',
               n=[4, 4, 4],
               min=[-5, -5],
               max=[+5, +5],
               printLog=True,
               draw_boundary_cells=True,
               )

Available python bindings

None at the moment.