21 const std::vector<EdgeId>& holeRepresentativeEdges,
22 float accuracy = 5.5f,
bool attractToVert =
false,
float cornerAccuracy = 10.5f );
29 float accuracy = 5.5f );
31 float accuracy = 5.5f )
33 std::vector<std::shared_ptr<ObjectLinesHolder>> objs(objsLines.size());
34 for (
int i = 0; i < objsLines.size(); ++i )
35 objs[i] = std::dynamic_pointer_cast<ObjectLinesHolder>( objsLines[i] );
Definition MRCameraOrientationPlugin.h:8
MRVIEWER_API HoleEdgePoint findClosestToMouseHoleEdge(const Vector2i &mousePos, const std::shared_ptr< ObjectMeshHolder > &objMesh, const std::vector< EdgeId > &holeRepresentativeEdges, float accuracy=5.5f, bool attractToVert=false, float cornerAccuracy=10.5f)
MRVIEWER_API HoleEdgePoint findClosestToMouseEdge(const Vector2i &mousePos, const std::vector< std::shared_ptr< ObjectLinesHolder > > &objsLines, float accuracy=5.5f)
encodes a point on an edge of mesh or of polyline
Definition MREdgePoint.h:11
Definition MRPickHoleBorderElement.h:11
int holeIdx
hole index
Definition MRPickHoleBorderElement.h:12
MeshEdgePoint edgePoint
Definition MRPickHoleBorderElement.h:13