|
| enum | boundaries : unsigned int { e_size = 1u
} |
| | Boundary array layout; this shape has one placeholder entry.
|
|
template<concepts::scalar scalar_t> |
| using | bounds_type = darray<scalar_t, boundaries::e_size> |
| | Container definition for the shape boundary values.
|
|
template<concepts::algebra algebra_t> |
| using | local_frame_type = cartesian2D<algebra_t> |
| | Local coordinate frame for boundary checks.
|
|
template<typename bool_t> |
| using | result_type = bool_t |
| | Result type of a boundary check.
|
|
| template<concepts::scalar scalar_t> |
| constexpr scalar_t | area (const bounds_type< scalar_t > &) const |
| | The area of a the shape.
|
| template<concepts::algebra algebra_t> |
| dpoint3D< algebra_t > | centroid (const bounds_type< dscalar< algebra_t > > &) const |
| template<concepts::scalar scalar_t> |
| constexpr bool | check_consistency (const bounds_type< scalar_t > &, const std::ostream &) const |
| | Check consistency of boundary values.
|
| template<concepts::algebra algebra_t> |
| darray< dscalar< algebra_t >, 6 > | local_min_bounds (const bounds_type< dscalar< algebra_t > > &, const dscalar< algebra_t >=std::numeric_limits< dscalar< algebra_t > >::epsilon()) const |
| | Lower and upper point for minimal axis aligned bounding box.
|
| template<concepts::scalar scalar_t> |
| constexpr scalar_t | measure (const bounds_type< scalar_t > &bounds) const |
| | Measure of the shape: Inf.
|
| template<concepts::scalar scalar_t> |
| constexpr bounds_type< scalar_t > | merge (const bounds_type< scalar_t > &, const bounds_type< scalar_t > &) const |
| | Merge two unmasked shapes.
|
| template<concepts::scalar scalar_t, concepts::point point_t> |
| scalar_t | min_dist_to_boundary (const bounds_type< scalar_t > &, const point_t &) const |
| | Find the minimum distance to any boundary.
|
| template<concepts::algebra algebra_t> |
| dvector< dpoint3D< algebra_t > > | vertices (const bounds_type< dscalar< algebra_t > > &bounds, dindex) const |
| | Generate vertices in local cartesian frame.
|
| template<concepts::scalar scalar_t> |
| constexpr scalar_t | volume (const bounds_type< scalar_t > &) const |
| | The volume of a the shape.
|
| template<concepts::algebra algebra_t> |
| constexpr dbool< algebra_t > | check_boundaries (const bounds_type< dscalar< algebra_t > > &, const dtransform3D< algebra_t > &, const dpoint3D< algebra_t > &, const dscalar< algebra_t >=0.f, const dscalar< algebra_t >=0.f) const |
| | Check boundary values for a local point.
|
| template<concepts::scalar scalar_t, concepts::point point_t> |
| constexpr auto | check_boundaries (const bounds_type< scalar_t > &, const point_t &, const scalar_t tol=0.f, const scalar_t edge_tol=0.f) const -> decltype(tol< edge_tol) |
| | Always accept a point supplied in local coordinates.
|
template<std::size_t DIM = 2>
class detray::unmasked< DIM >
Generic shape without boundaries.