Skip to content

Closed Area Composite3D

Class full path: NemAll_Python_Geometry.ClosedAreaComposite3D

3D closed area composite Representation class for 3D geometry profile composite

Attributes

ClosedAreaComposite: ClosedAreaComposite2D property

Get the 2d closed area composite as property

RefPlacement: AxisPlacement3D property

Get and set the reference placement 3d as property

Functions

Add(profile)

Add new profile

Parameters:

Name Type Description Default
profile ClosedArea2D

New profile

required

Returns:

Type Description
bool

true if the operation was successful

Clear()

Clear contents of this composite

GetClosedAreaComposite()

Get constant reference to composite of ClosedArea2D

Returns:

Type Description
ClosedAreaComposite2D

ClosedAreaComposite2D

GetRefPlacement()

Get axis placement

Returns:

Type Description
AxisPlacement3D

const reference to the reference axis placement

IsEmpty()

Check if this composite has any contents ( profiles )

Returns:

Type Description
bool

true if it is empty

SetRefPlacement(placement)

Set axis placement

Parameters:

Name Type Description Default
placement AxisPlacement3D

Reference axis placement

required

__eq__(closedAreaComposite)

Comparison of closedAreaComposites without tolerance.

Be careful, this method work without tolerance!

Parameters:

Name Type Description Default
closedAreaComposite ClosedAreaComposite3D

Compared closedAreaComposite.

required

Returns:

Type Description
object

True when closedAreaComposites are equal, otherwise false.

__init__ overload

__init__()

initialize

__init__(composite)

Copy constructor

Parameters:

Name Type Description Default
composite ClosedAreaComposite3D

Profile composite which will be copied.

required

__repr__()

convert the list to a string