Skip to content

Commit

Permalink
[half-edge] half-edge/HalfEdge -- has id port and otherHalf
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Sep 16, 2023
1 parent 97f7297 commit e452088
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# half-edge

[half-edge] `half-edge/HalfEdge` -- has `id` `port` and `otherHalf`

[half-edge] `Net` has `halfEdgeEntries`

[half-edge] `connection` through `HalfEdge`
Expand Down
7 changes: 7 additions & 0 deletions src/lang/half-edge/HalfEdge.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Port } from "../port"

export type HalfEdge = {
id: string
port: Port
otherHalf: HalfEdge
}
1 change: 1 addition & 0 deletions src/lang/half-edge/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./HalfEdge"

0 comments on commit e452088

Please sign in to comment.