hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::brep::Transformed< n_param > Class Template Reference

A parametric entity obtained by applying a Coordinate_change to another parametric entity. More...

#include <brep.hpp>

Inheritance diagram for hexed::brep::Transformed< n_param >:
hexed::brep::Parametric< n_param >

Public Member Functions

 Transformed (Parametric< n_param > *param, Coordinate_change coord)
 
Mat< 3 > point (Mat< n_param > params) const override
 Obtains the point at parameters params.
 
Mat< 2, n_param > orig_param_bounds () const override
 forwards to transformed entity
 
- Public Member Functions inherited from hexed::brep::Parametric< n_param >
virtual Mat< n_param, 2 > reparameterize (Mat< n_param, 2 > bounds)
 May reparameterize the entity to keep parameters in [0, 1].
 
virtual Mat< n_param, 2 > reparameterize (const std::vector< Mat< 3 > > &points)
 reparameterizes to contain the projections of points.
 

Detailed Description

template<int n_param>
class hexed::brep::Transformed< n_param >

A parametric entity obtained by applying a Coordinate_change to another parametric entity.

For performance and type transparency, whenever possible the transformation should be applied to the defining parameters of the entity (e.g. line segment endpoints) instead of using this class. This class provides a solution for entities where that is not possible, such as Circular_arc.

Constructor & Destructor Documentation

◆ Transformed()

template<int n_param>
hexed::brep::Transformed< n_param >::Transformed ( Parametric< n_param > * param,
Coordinate_change coord )
inline
Note
Acquires ownership of param!

Member Function Documentation

◆ orig_param_bounds()

template<int n_param>
Mat< 2, n_param > hexed::brep::Transformed< n_param >::orig_param_bounds ( ) const
inlineoverridevirtual

forwards to transformed entity

Implements hexed::brep::Parametric< n_param >.

◆ point()

template<int n_param>
Mat< 3 > hexed::brep::Transformed< n_param >::point ( Mat< n_param > params) const
inlineoverridevirtual

Obtains the point at parameters params.

Implements hexed::brep::Parametric< n_param >.


The documentation for this class was generated from the following file: