class pd3::python::protocols::Line
class pd3::python::protocols::Line
: public Protocol
A dislocation line marked by its current end.
Represents a dislocation line, that can be added to with Line.connect. Note that the line must have an inital starting point, specified with Line.start.
Note, Line should be constructed through pd3.Study.line
Summary
Members | Descriptions |
---|---|
head (self) → Node |
Access to node end of line. |
start (self, *args) |
Mark the beginning of the Line. |
connect (self, *args) |
Adds another node to the Line end. |
Members
head
head
(self) → Node
Access to node end of line.
start
start
(self, *args)
Mark the beginning of the Line.
Uses the provided node, or creates a new node based on the pd3.Study.create_node api, to start off the line.
connect
connect
(self, *args)
Adds another node to the Line end.
Creates another node by the api in pd3.Study.create_nodeor uses the node passed in and connects it to the current line by the specified line properties.