Files
PINA/pina/location.py
Your Name 736c78fd64 add docs
2023-04-18 10:55:42 +02:00

18 lines
414 B
Python

"""Module for Location class."""
from abc import ABCMeta, abstractmethod
class Location(metaclass=ABCMeta):
"""
Abstract Location class.
Any geometry entity should inherit from this class.
"""
@property
@abstractmethod
def sample(self):
"""
Abstract method for sampling a point from the location. To be
implemented in the child class.
"""
pass