Landmark#
- class Landmark(P: ndarray, fixed: bool = False)[source]#
Create new landmark point
- Parameters:
P (ndarray(3)) – landmark coordinate
fixed (bool, optional) – point is fixed, defaults to False
Represent a world point in the bundle adjustment problem. If the point is not
fixedit will be adjusted during the optimization.- Seealso:
pgraph.UVertex
Methods
closest()connect(other, **kwargs)Connect two vertices with an edge
copy([cls])distance(coord)Distance from vertex to point
edges()All outgoing edges of vertex
edgeto(dest)Get edge connecting vertex to specific neighbour
Neighbours and edges of a vertex
isneighbour(vertex)Test if vertex is a neigbour
Neighbors of a vertex
Neighbours of a vertex
Properties
Degree of vertex
Index into the state vector (base method)
Index into the variable state vector (base method)
Value is fixed (base method)
Get landmark position
The x-coordinate of an embedded vertex
The y-coordinate of an embedded vertex
The z-coordinate of an embedded vertex