Skip to content

coordinate

pygerber.nodes.other.Coordinate module contains definition of Coordinate class.

Coordinate

Bases: Node

Represents Coordinate node.

CoordinateX

Bases: Coordinate

Represents X Coordinate node.

visit

visit(visitor: AstVisitor) -> CoordinateX

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], CoordinateX]

Get callback function for the node.

CoordinateY

Bases: Coordinate

Represents Y Coordinate node.

visit

visit(visitor: AstVisitor) -> CoordinateY

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], CoordinateY]

Get callback function for the node.

CoordinateI

Bases: Coordinate

Represents I Coordinate node.

visit

visit(visitor: AstVisitor) -> CoordinateI

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], CoordinateI]

Get callback function for the node.

CoordinateJ

Bases: Coordinate

Represents J Coordinate node.

visit

visit(visitor: AstVisitor) -> CoordinateJ

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], CoordinateJ]

Get callback function for the node.