Package micycle.medialAxis
Class MedialAxis.Branch
- java.lang.Object
-
- micycle.medialAxis.MedialAxis.Branch
-
- Enclosing class:
- MedialAxis
public class MedialAxis.Branch extends Object
Branches are series of successive disks found in between. Branches terminate when a disk is a leaf, or when a disk bifurcates. branch/trunk branch comparable based on fork degree?
-
-
Field Summary
Fields Modifier and Type Field Description List<MedialAxis.Edge>
edges
List<MedialAxis.MedialDisk>
innerDisks
Disks between root and leaf of this branch, in descending order from the branch's root.MedialAxis.MedialDisk
leaf
org.locationtech.jts.geom.LineString
lineString
MedialAxis.MedialDisk
root
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
terminates()
Whether this branch terminates at a leaf node.
-
-
-
Field Detail
-
root
public final MedialAxis.MedialDisk root
-
leaf
public MedialAxis.MedialDisk leaf
-
innerDisks
public List<MedialAxis.MedialDisk> innerDisks
Disks between root and leaf of this branch, in descending order from the branch's root.
-
edges
public final List<MedialAxis.Edge> edges
-
lineString
public org.locationtech.jts.geom.LineString lineString
-
-