RegistrationPoint
- class RegistrationPoint(location: ndarray[3], signature: RegistrationPointSignature)
A
RegistrationPoint
represents a key point within aShapeSignature
.- Parameters:
location – Where the registration point is.
signature – The signature of the registration point.
Attributes
Where the registration point is.
The signature of the registration point.
Methods
Returns
True
if this point is located at the same place asother
andself.signature.can_embed_in(other.signature, match_directions, match_radii)
returnsTrue
(seecan_embed_in()
ofRegistrationPointSignature
).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 asother
andself.signature.can_embed_in(other.signature, match_directions, match_radii)
returnsTrue
(seecan_embed_in()
ofRegistrationPointSignature
).
- 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.