hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::brep::Plane Class Reference

a plane represented parametrically by an origin and coordinate vectors More...

#include <brep.hpp>

Inheritance diagram for hexed::brep::Plane:
hexed::brep::Parametric< 2 >

Public Member Functions

 Plane (Mat< 3 > origin, Mat< 3, 2 > coord_vectors)
 Specify origin and coord_vectors such that point(p) will yield origin + coord_vectors*p.
 
Mat< 3 > point (Mat< 2 > params) const override
 
Mat< 2, 2 > reparameterize (Mat< 2, 2 > bounds) override
 Reparameterizes the plane to contain the points point(p) where bounds(i, 0) <= p(i) && p(i) <= bounds(i, 1).
 
Mat< 2, 2 > reparameterize (const std::vector< Mat< 3 > > &points) override
 reparameterizes to contain the projections of points.
 
Mat< 2, 2 > orig_param_bounds () const override
 returns the parameter bounds in the original IGES definition (low, high)
 
- Public Member Functions inherited from hexed::brep::Parametric< 2 >
virtual Mat< 3 > point (Mat< n_param > params) const=0
 Obtains the point at parameters params.
 
virtual Mat< n_param, 2 > reparameterize (Mat< n_param, 2 > bounds)
 May reparameterize the entity to keep parameters in [0, 1].
 

Detailed Description

a plane represented parametrically by an origin and coordinate vectors

Member Function Documentation

◆ orig_param_bounds()

Mat< 2, 2 > hexed::brep::Plane::orig_param_bounds ( ) const
overridevirtual

returns the parameter bounds in the original IGES definition (low, high)

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

◆ reparameterize() [1/2]

Mat< 2, 2 > hexed::brep::Plane::reparameterize ( const std::vector< Mat< 3 > > & points)
overridevirtual

reparameterizes to contain the projections of points.

Reimplemented from hexed::brep::Parametric< 2 >.

◆ reparameterize() [2/2]

Mat< 2, 2 > hexed::brep::Plane::reparameterize ( Mat< 2, 2 > bounds)
override

Reparameterizes the plane to contain the points point(p) where bounds(i, 0) <= p(i) && p(i) <= bounds(i, 1).

bounds(i, j) need not be in [0, 1], but must statisfy bounds(i, 0) < bounds(i, 1).

See also
Parametric::reparameterize

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