Tesseract 0.28.4
Loading...
Searching...
No Matches
conversions.h File Reference

Tesseract Geometry Conversion Functions. More...

#include <memory>
#include <Eigen/Geometry>

Functions

std::unique_ptr< Meshtesseract::geometry::toTriangleMesh (const Geometry &geom, double tolerance, const Eigen::Isometry3d &origin=Eigen::Isometry3d::Identity())
 Convert geometry type to mesh.
 

Detailed Description

Tesseract Geometry Conversion Functions.

Author
Levi Armstrong
Date
July 27, 2025
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ toTriangleMesh()

std::unique_ptr< Mesh > tesseract::geometry::toTriangleMesh ( const Geometry geom,
double  tolerance,
const Eigen::Isometry3d &  origin = Eigen::Isometry3d::Identity() 
)

Convert geometry type to mesh.

Currently this only converts primitive geometry types to mesh

Parameters
geomThe geometry to convert
toleranceThe allowed chord deviation
Returns
The mesh representation of the geometry type provided