Skip to content

GeometryEdge

Canonical path: NemAll_Python_Geometry.GeometryEdge

Representation class for the geometry edge

Identification of any edge via point indices, not via point coordinates.

EndIndex property writable

EndIndex: int

Get end index

Index is not checked, you set anything.

StartIndex property writable

StartIndex: int

Get start index

Index is not checked, you set anything.

Compare

Compare(otherEdge: GeometryEdge) -> ComparisonResult

Compare two edges

Parameters:

Returns:

GetEndIndex

GetEndIndex() -> int

Get end index

Returns:

  • int

    End index.

GetStartIndex

GetStartIndex() -> int

Get start index

Returns:

  • int

    Start index.

Set

Set(edge: Kanten_t)

Initialize edge from old Allplan structure

Parameters:

  • edge (Kanten_t) –

    Edge which will be copied.

SetEndIndex

SetEndIndex(index: int)

Set end index

Index is not checked, you set anything.

Parameters:

  • index (int) –

    End index.

SetStartIndex

SetStartIndex(index: int)

Set start index

Index is not checked, you set anything.

Parameters:

  • index (int) –

    Start index.

__eq__

__eq__(edge: GeometryEdge) -> bool

Equals operator

Parameters:

Returns:

  • bool

    true if edges are equal

__init__ overloaded

__init__()

Initialize

__init__(startIndex: int, endIndex: int)

Constructor

Parameters:

  • startIndex (int) –

    Start index of vertex.

  • endIndex (int) –

    End index of vertex.

__init__(edge: GeometryEdge)

Copy constructor

Parameters:

__init__(edge: Kanten_t)

Copy constructor from old Allplan structure

Parameters:

  • edge (Kanten_t) –

    Edge which will be copied.

__ne__

__ne__(edge: GeometryEdge) -> bool

Not Equals operator

Parameters:

Returns:

  • bool

    true if edges aren't equal

__repr__

__repr__() -> str

Convert to string

Placeholder