MeshLib
 
Loading...
Searching...
No Matches
MR::DividePolylineParameters Struct Reference

#include <MRPolylineTrimWithPlane.h>

Public Attributes

std::function< void(EdgeId, EdgeId, float)> onEdgeSplitCallback
 onEdgeSplitCallback is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex
 
bool fillAfterCut = false
 fillAfterCut if true, the ends of resulting polyline will be united with new edges
 
VertMapoutVmap = nullptr
 map from input polyline verts to output
 
EdgeMap * outEmap = nullptr
 map from input polyline edges to output
 
Polyline3 * otherPart = nullptr
 otherPart Optional return, polyline composed from edges on the negative side of the plane
 
VertMapotherOutVmap = nullptr
 map from input polyline verts to other output
 
EdgeMap * otherOutEmap = nullptr
 map from input polyline edges to other output
 

Member Data Documentation

◆ fillAfterCut

bool MR::DividePolylineParameters::fillAfterCut = false

fillAfterCut if true, the ends of resulting polyline will be united with new edges

◆ onEdgeSplitCallback

std::function<void( EdgeId, EdgeId, float )> MR::DividePolylineParameters::onEdgeSplitCallback

onEdgeSplitCallback is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex

◆ otherOutEmap

EdgeMap* MR::DividePolylineParameters::otherOutEmap = nullptr

map from input polyline edges to other output

◆ otherOutVmap

VertMap* MR::DividePolylineParameters::otherOutVmap = nullptr

map from input polyline verts to other output

◆ otherPart

Polyline3* MR::DividePolylineParameters::otherPart = nullptr

otherPart Optional return, polyline composed from edges on the negative side of the plane

◆ outEmap

EdgeMap* MR::DividePolylineParameters::outEmap = nullptr

map from input polyline edges to output

◆ outVmap

VertMap* MR::DividePolylineParameters::outVmap = nullptr

map from input polyline verts to output


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