|
| Primitives::Sphere | toPrimitive (const Vector3f &point) |
| |
| Primitives::Sphere | toPrimitive (const Sphere3f &sphere) |
| |
| MRMESH_API Primitives::ConeSegment | toPrimitive (const Line3f &line) |
| |
| MRMESH_API Primitives::ConeSegment | toPrimitive (const LineSegm3f &segm) |
| |
| Primitives::ConeSegment | toPrimitive (const Cylinder3f &cyl) |
| |
| Primitives::ConeSegment | toPrimitive (const Cone3f &cone) |
| |
| MRMESH_API Primitives::ConeSegment | primitiveCircle (const Vector3f &point, const Vector3f &normal, float rad) |
| | normal doesn't need to be normalized.
|
| |
| MRMESH_API Primitives::ConeSegment | primitiveCylinder (const Vector3f &a, const Vector3f &b, float rad) |
| | a and b are centers of the sides.
|
| |
| MRMESH_API Primitives::ConeSegment | primitiveCone (const Vector3f &a, const Vector3f &b, float rad) |
| | a is the center of the base, b is the pointy end.
|
| |
| MRMESH_API std::optional< Primitives::Variant > | primitiveFromObject (const Object &object) |
| |
| MRMESH_API std::optional< Primitives::Variant > | primitiveFromObjectWithWorldXf (const Object &object) |
| |
| MRMESH_API std::shared_ptr< FeatureObject > | primitiveToObject (const Primitives::Variant &primitive, float infiniteExtent) |
| |
| MRMESH_API Primitives::Sphere | transformPrimitive (const AffineXf3f &xf, const Primitives::Sphere &primitive) |
| |
| MRMESH_API Primitives::Plane | transformPrimitive (const AffineXf3f &xf, const Primitives::Plane &primitive) |
| |
| MRMESH_API Primitives::ConeSegment | transformPrimitive (const AffineXf3f &xf, const Primitives::ConeSegment &primitive) |
| |
| MRMESH_API Primitives::Variant | transformPrimitive (const AffineXf3f &xf, const Primitives::Variant &primitive) |
| |
| MRMESH_API std::string_view | toString (MeasureResult::Status status) |
| |
| template<typename T > |
| std::string | name (const T &primitive) |
| |
| MRMESH_API std::string | name (const Primitives::Variant &var) |
| |
template<typename A , typename B >
requires MeasureSupported<A, B> |
| MeasureResult | measure (const A &a, const B &b) |
| |
| template<typename B > |
| MeasureResult | measure (const Primitives::Variant &a, const B &b) |
| |
| template<typename A > |
| MeasureResult | measure (const A &a, const Primitives::Variant &b) |
| |
| MRMESH_API MeasureResult | measure (const Primitives::Variant &a, const Primitives::Variant &b) |
| |
| MRMESH_API void | forEachSubfeature (const Features::Primitives::Variant &feature, const SubfeatureFunc &func) |
| |
| MRVIEWER_API void | forEachVisualSubfeature (const Features::Primitives::Variant ¶ms, const Features::SubfeatureFunc &func) |
| |