File size: 1,015 Bytes
985c397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# SPDX-License-Identifier: LGPL-2.1-or-later

from __future__ import annotations

from Base.Metadata import export, constmethod, class_declarations
from Base.PyObjectBase import PyObjectBase

@export(
    PythonName="Part.ShapeFix.Root",
    Include="ShapeFix_Root.hxx",
    Constructor=True,
)
@class_declarations(
    """
private:
    Handle(ShapeFix_Root) hRoot;

public:
    void setHandle(Handle(ShapeFix_Root) handle) {
        setTwinPointer(handle.get());
        hRoot = handle;
    }
"""
)
class ShapeFix_Root(PyObjectBase):
    """
    Root class for fixing operations

    Author: Werner Mayer (wmayer@users.sourceforge.net)
    Licence: LGPL
    """

    Precision: float = ...
    """Basic precision value"""

    MinTolerance: float = ...
    """Minimal allowed tolerance"""

    MaxTolerance: float = ...
    """Maximal allowed tolerance"""

    @constmethod
    def limitTolerance(self) -> float:
        """
        Returns tolerance limited by [MinTolerance,MaxTolerance]
        """
        ...