MeshLib
 
Loading...
Searching...
No Matches
MRExtractIsolines.h File Reference
#include "MRMeshFwd.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API IsoLines MR::extractIsolines (const MeshTopology &topology, const VertMetric &vertValues, const FaceBitSet *region=nullptr)
 extracts all iso-lines from given scalar field and iso-value=0
 
MRMESH_API bool MR::hasAnyIsoline (const MeshTopology &topology, const VertMetric &vertValues, const FaceBitSet *region=nullptr)
 quickly returns true if extractIsolines produce not-empty set for the same arguments
 
MRMESH_API IsoLines MR::extractIsolines (const MeshTopology &topology, const VertScalars &vertValues, float isoValue, const FaceBitSet *region=nullptr)
 extracts all iso-lines from given scalar field and iso-value
 
MRMESH_API bool MR::hasAnyIsoline (const MeshTopology &topology, const VertScalars &vertValues, float isoValue, const FaceBitSet *region=nullptr)
 quickly returns true if extractIsolines produce not-empty set for the same arguments
 
MRMESH_API PlaneSections MR::extractPlaneSections (const MeshPart &mp, const Plane3f &plane)
 extracts all plane sections of given mesh
 
MRMESH_API bool MR::hasAnyPlaneSection (const MeshPart &mp, const Plane3f &plane)
 quickly returns true if extractPlaneSections produce not-empty set for the same arguments
 
MRMESH_API PlaneSections MR::extractXYPlaneSections (const MeshPart &mp, float zLevel)
 
MRMESH_API bool MR::hasAnyXYPlaneSection (const MeshPart &mp, float zLevel)
 quickly returns true if extractXYPlaneSections produce not-empty set for the same arguments
 
MRMESH_API PlaneSection MR::trackSection (const MeshPart &mp, const MeshTriPoint &start, MeshTriPoint &end, const Vector3f &direction, float distance)
 
MRMESH_API Contour2f MR::planeSectionToContour2f (const Mesh &mesh, const PlaneSection &section, const AffineXf3f &meshToPlane)
 converts PlaneSections in 2D contours by computing coordinate of each point, applying given xf to it, and retaining only x and y
 
MRMESH_API Contours2f MR::planeSectionsToContours2f (const Mesh &mesh, const PlaneSections &sections, const AffineXf3f &meshToPlane)