itasca.dfn.inter.Inter Class Methods
-
class
itasca.dfn.inter.Inter Objects of this type should not be created (instantiated) directly in Python. Use the module functions that return instances of this type.
end1() → Fracture object.Get the end1 fracture object.
end2() → Fracture object.Get the end2 fracture object.
extra(slot: int) → any.Get the intersection extra data in the given slot.
group([slot: str]) → str.Get the intersection group name in a given slot.
group_remove(group_name: str) → bool.Remove from the given group from all group slots of the intersection. One argument of type string, giving the group name, is required. The return value is a bool which is True if the group was removed from any slot, otherwise False.
groups() → {slot: group_name}.Get a dictionary describing which groups this intersection is part of. The keys of the dictionary are the slot names and the values are the group names.
id() → int.Get the intersection id.
in_group(group_name: str[, slot: str]) → bool.Test if the intersection is part of a given group. If the optional argument slot is given, only that slot is searched. Otherwise, all group slots are searched.
len() → float.Get the intersection length.
polylinept(index) → vec.Get the polyline intersection point at the specified index (vector).
polylinept_count() → int.Get the intersection number of polyline points.
pos1() → vec.Get the intersection first end position (vector).
pos1_x() → float.Get the x-component of the intersection first end position.
pos1_y() → float.Get the y-component of the intersection first end position.
pos1_z() → float.Get the z-component of the intersection first end position.
pos2() → vec.Get the intersection second end position (vector).
pos2_x() → float.Get the x-component of the intersection second end position.
pos2_y() → float.Get the y-component of the intersection second end position.
pos2_z() → float.Get the z-component of the intersection second end position.
set() → Intersection set object.Get the intersection set to which this intersection belongs.
set_extra(slot: int, value: any) → None.Set the intersection extra data in the given slot.
set_group(group_name: str[, slot: str]) → None.Set the intersection group name in a given slot.
valid() → bool.Returns True if this intersection is live.
| Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |