Skip to content

ClosedArea3D

Canonical path: NemAll_Python_Geometry.ClosedArea3D

Representation class for 3D geometry area

OuterCurve property writable

OuterCurve: Path2D

Get the outer curve of this profile

RefPlacement property writable

RefPlacement: AxisPlacement3D

Get axis placement

AddInnerCurve

AddInnerCurve(innerpath: Path2D) -> bool

Add new inner curve

Parameters:

  • innerpath (Path2D) –

    New inner curve

Returns:

  • bool

    true if the operation was successful

Clear

Clear()

Clear all the components of this Profile

GetInnerCurve

GetInnerCurve(index: int) -> Path2D

Get the curve of given index

Parameters:

  • index (int) –

    Index of the inner curve

Returns:

  • Path2D

    const the curve ( Path2D )

GetInnerList

GetInnerList() -> Path2DList

Get the list of the inner curves

Returns:

  • Path2DList

    const a vector that contains the inner curves

GetOuterCurve

GetOuterCurve() -> Path2D

Get the outer curve of this profile

Returns:

  • Path2D

    const outer curve

GetRefPlacement

GetRefPlacement() -> AxisPlacement3D

Get axis placement

Returns:

InnerCount

InnerCount() -> int

Get the count of inner curves

Returns:

  • int

    count of inner curves

IsValid

IsValid() -> bool

Set Check the validity

Returns:

  • bool

    true if this Profile is valid

SetOuterCurve

SetOuterCurve(outerpath: Path2D)

Set new Outer curve ( bounds )

Parameters:

  • outerpath (Path2D) –

    New outer curve

SetRefPlacement

SetRefPlacement(placement: AxisPlacement3D)

Set axis placement

Parameters:

__eq__

__eq__(closed_area: ClosedArea3D) -> bool

Comparison of closed areas.

Be careful, this method work without tolerance!

Parameters:

  • closed_area (ClosedArea3D) –

    closed area to be compared.

Returns:

  • bool

    True when closed areas are equal, otherwise false.

__init__ overloaded

__init__()

Initialize

__init__(closedArea: ClosedArea3D)

Copy constructor

__repr__

__repr__() -> str

Convert to string

Placeholder