Template Class Env_R2_Arrangement

Inheritance Relationships

Base Type

Class Documentation

template<typename Arrangement_2, typename Traits_2, int D>
class Env_R2_Arrangement : private sdsl::Environment<D, Traits_2::Kernel::FT>

Public Types

using Env_R2_Arrangement_repr = nb::ndarray<double, nb::numpy, nb::shape<-1, 2 * 2>, nb::f_contig>

Public Functions

inline Env_R2_Arrangement()
inline Env_R2_Arrangement(Arrangement_2 arrangement)
inline Env_R2_Arrangement(std::vector<Segment> segments)
inline Env_R2_Arrangement(const nb::ndarray<double, nb::shape<-1, 2 * 2>> a)
inline virtual bool intersects(Voxel<D, FT> v) override

Test whether a voxel intersects with the environment.

Parameters:

v

Returns:

True if v intersects with the environment.

inline virtual double measureDistance(Configuration<D, FT> q) override

Measure the distance perceived from a configuration q.

Parameters:

q

Returns:

The measured distance.

inline virtual bool collisionDetection(Configuration<D, FT> q1, Configuration<D, FT> q2) override

Test whether the line between two configurations intersects with the environment.

Parameters:
  • q1

  • q2

Returns:

True if the line between q1 and q2 intersects with the environment.

inline double hausdorffDistance(Configuration<D, FT> q)
inline double voxelHausdorffDistance(Voxel<D, FT> v)
inline Env_R2_Arrangement_repr getRepresentation()
inline Voxel<D, FT> boundingBox()
inline virtual bool contains(Configuration<D, FT> q) override

Test whever a configuration is contained whithin the environment.

Parameters:

q

Returns:

True if q is contained in the environment.