itasca.dfn.fracture

Functions and classes for working with Itasca DFN fractures.

Functions

itasca.dfn.fracture.count() → int.

Get the number of fractures.

itasca.dfn.fracture.find(id: int) → Fracture object.

Get the fracture object with the given ID number.

itasca.dfn.fracture.inbox(lower_bound: vec, upper_bound: vec, intersect=True) → Tuple of fracture objects.

Get a tuple of fractures with extents intersecting a box. The extent is the axis-aligned bounding box of the fracture. The if the optional keyword argument intersect is False only fractures falling entirely within the box are returned. All fractures are searched.

itasca.dfn.fracture.list() → Fracture iterator object.

Get a Fracture iterator object.

itasca.dfn.fracture.maxid() → int.

Get the maximum fracture ID.

itasca.dfn.fracture.near(point: vec, radius=0.0) → Fracture object.

Find the closest fracture to a point. If the optional keyword argument radius is non-zero, only search within this radius. All fractures are searched.

Classes