RegistrationPoint

class RegistrationPoint(location: ndarray[3], signature: RegistrationPointSignature)

A RegistrationPoint represents a key point within a ShapeSignature.

Parameters:
  • location – Where the registration point is.

  • signature – The signature of the registration point.

Attributes

location

Where the registration point is.

signature

The signature of the registration point.

Methods

can_embed_in

Returns True if this point is located at the same place as other and self.signature.can_embed_in(other.signature, match_directions, match_radii) returns True (see can_embed_in() of RegistrationPointSignature).

is_connected_to

num_common_directions_with

transform

Transform this registration point and its signature.

__add__(other: RegistrationPoint) RegistrationPoint

Create a new registration point at this one’s location with the sum of this one’s and other’s signatures.

can_embed_in(other: RegistrationPoint, match_directions: bool = True, match_radii: bool = True) bool

Returns True if this point is located at the same place as other and self.signature.can_embed_in(other.signature, match_directions, match_radii) returns True (see can_embed_in() of RegistrationPointSignature).

is_connected_to(other: RegistrationPoint) bool
num_common_directions_with(other: RegistrationPoint) int
transform(transformation: Transformation)

Transform this registration point and its signature.

location

Where the registration point is.

signature

The signature of the registration point.