Skip to main content

Edge

Kind: Class
Domain: Modeling and geometry
Canonical import: from cadflow import Edge

Signature

class Edge(edge: 'Any', cache: 'Optional[_TopologyEntityCache]' = None)

Description

OCP-native edge wrapper with tag support.

Parameters

NameTypeRequiredDefaultSource description
edge'Any'yes-Not explicitly described in the source docstring.
cache'Optional[_TopologyEntityCache]'noNoneNot explicitly described in the source docstring.

Returns

Type: Any

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Public members

MemberKindSignatureDescription
get_centermethod(self) -> 'Vec3'See the member signature.
get_end_vertexmethod(self) -> 'Vertex'See the member signature.
get_incident_facesmethod(self) -> "List['Face']"See the member signature.
get_lengthmethod(self) -> 'float'See the member signature.
get_start_vertexmethod(self) -> 'Vertex'See the member signature.
get_verticesmethod(self, index: 'Optional[int]' = None) -> 'Union[List[Vertex], Vertex]'See the member signature.

Behavior and constraints

  • The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.

Import check

from cadflow import Edge

See also