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

Line segment specified by its endpoints. More...

#include <brep.hpp>

Inheritance diagram for hexed::brep::Line_segment:
hexed::brep::Parametric< 1 >

Public Member Functions

 Line_segment (Mat< 3, 2 > endpoints)
 
Mat< 3 > point (Mat< 1 > params) const override
 
double length () const
 
Mat< 2, 1 > orig_param_bounds () const override
 returns the parameter bounds in the original IGES definition (low, high)
 
- Public Member Functions inherited from hexed::brep::Parametric< 1 >
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].
 
virtual Mat< n_param, 2 > reparameterize (const std::vector< Mat< 3 > > &points)
 reparameterizes to contain the projections of points.
 

Detailed Description

Line segment specified by its endpoints.

Constructor & Destructor Documentation

◆ Line_segment()

hexed::brep::Line_segment::Line_segment ( Mat< 3, 2 > endpoints)

Each column of endpoints is an endpoint of the segment. They can be retrieved by point({0.}) and point({1.}), respectively.

Member Function Documentation

◆ orig_param_bounds()

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

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

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


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