bionc/protocols/natural_vector.py

Summary

Maintainability
A
0 mins
Test Coverage
from abc import ABC, abstractmethod


class AbstractNaturalVector(ABC):
    """
    Class used to create a natural vector, a vector that is expressed in the natural coordinate system of a segment
    """

    @abstractmethod
    def interpolate(self):
        """This function converts the natural vector into the interpolation matrix"""

    @abstractmethod
    def proximal(self):
        """This function returns the vector of the proximal point, denoted rp"""

    @abstractmethod
    def distal(self):
        """This function returns the vector of the distal point, denoted rd"""