__init__(*args, **kwargs)
Overloaded function.
1. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams) -> None
default constructor. Manual params initialization is required:
2. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, direction: meshlib.mrmeshpy.ConstVector3f, resolution: meshlib.mrmeshpy.ConstVector2i, mp: meshlib.mrmeshpy.ConstMeshPart, usePreciseBoundingBox: bool = False) -> None
direction vector shows the projections vector to the distance map for points on model
yRange and xRange directions make orthonormal basis with direction
see Vector3<T>::perpendicular() for more details
All Output Distance map values will be positive
usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation
usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation
3. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, direction: meshlib.mrmeshpy.ConstVector3f, pixelSize: meshlib.mrmeshpy.ConstVector2f, mp: meshlib.mrmeshpy.ConstMeshPart, usePreciseBoundingBox: bool = False) -> None
4. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, rotation: meshlib.mrmeshpy.ConstMatrix3f, origin: meshlib.mrmeshpy.ConstVector3f, resolution: meshlib.mrmeshpy.ConstVector2i, size: meshlib.mrmeshpy.ConstVector2f) -> None
input matrix should be orthonormal!
rotation.z - direction
rotation.x * (box X length) - xRange
rotation.y * (box Y length) - yRange
All Output Distance map values will be positive
5. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, rotation: meshlib.mrmeshpy.ConstMatrix3f, origin: meshlib.mrmeshpy.ConstVector3f, pixelSize: meshlib.mrmeshpy.ConstVector2f, resolution: meshlib.mrmeshpy.ConstVector2i) -> None
6. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, rotation: meshlib.mrmeshpy.ConstMatrix3f, resolution: meshlib.mrmeshpy.ConstVector2i, mp: meshlib.mrmeshpy.ConstMeshPart, usePreciseBoundingBox: bool = False) -> None
input matrix should be orthonormal!
rotation.z - direction
rotation.x * (box X length) - xRange
rotation.y * (box Y length) - yRange
All Output Distance map values will be positive
usePreciseBoundingBox false (fast): use general (cached) bounding box with applied rotation
usePreciseBoundingBox true (slow): compute bounding box from points with respect to rotation
7. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, xf: meshlib.mrmeshpy.ConstAffineXf3f, resolution: meshlib.mrmeshpy.ConstVector2i, size: meshlib.mrmeshpy.ConstVector2f) -> None
The most general constructor. Use it if you have to find special view, resolution,
distance map with visual the part of the model etc.
All params match is in the user responsibility
xf.b - origin point: pixel(0,0) with value 0.
xf.A.z - direction
xf.A.x - xRange
xf.A.y - yRange
All Output Distance map values could be positive and negative by default. Set allowNegativeValues to false if negative values are not required
8. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, xf: meshlib.mrmeshpy.ConstAffineXf3f, pixelSize: meshlib.mrmeshpy.ConstVector2f, resolution: meshlib.mrmeshpy.ConstVector2i) -> None
9. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, arg0: meshlib.mrmeshpy.ConstMeshToDistanceMapParams) -> None
Implicit copy constructor.
10. __init__(self: meshlib.mrmeshpy.ConstMeshToDistanceMapParams, : meshlib.mrmeshpy.ConstMeshToDistanceMapParams) -> None