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: None property

Get the 2d closed area composite as property

:type: None

RefPlacement: None property

Get and set the reference placement 3d as property

:type: None

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

Returns:

Type Description
str

List values as string