MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstTrimWithPlaneParams Class Reference
Inheritance diagram for mrmeshpy.ConstTrimWithPlaneParams:

Public Member Functions

 __init__ (self, *args, **kwargs)
float eps (self)
Const_func_void_from_Id_EdgeTag_Id_EdgeTag_float onEdgeSplitCallback (self)
ConstPlane3f plane (self)

Static Protected Attributes

typing _offsetof_eps = 16
typing _offsetof_onEdgeSplitCallback = 24
typing _offsetof_plane = 0

Detailed Description

Generated from:  MR::TrimWithPlaneParams

stores basic params for trimWithPlane function

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstTrimWithPlaneParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstTrimWithPlaneParams) -> None

2. __init__(self: meshlib.mrmeshpy.ConstTrimWithPlaneParams, arg0: meshlib.mrmeshpy.ConstTrimWithPlaneParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstTrimWithPlaneParams, plane: meshlib.mrmeshpy.ConstPlane3f, eps: float, onEdgeSplitCallback: meshlib.mrmeshpy.Const_func_void_from_Id_EdgeTag_Id_EdgeTag_float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstTrimWithPlaneParams, : meshlib.mrmeshpy.ConstTrimWithPlaneParams) -> None

Member Function Documentation

◆ eps()

float mrmeshpy.ConstTrimWithPlaneParams.eps ( self)
if existing vertex is within eps distance from the plane, then move the vertex not introducing new ones

Reimplemented in mrmeshpy.TrimWithPlaneParams, and mrmeshpy.TrimWithPlaneParams.

◆ onEdgeSplitCallback()

Const_func_void_from_Id_EdgeTag_Id_EdgeTag_float mrmeshpy.ConstTrimWithPlaneParams.onEdgeSplitCallback ( self)
is invoked each time when an edge is split. Receives edge ID before split, edge ID after split, and weight of the origin vertex

Reimplemented in mrmeshpy.TrimWithPlaneParams, and mrmeshpy.TrimWithPlaneParams.

◆ plane()

ConstPlane3f mrmeshpy.ConstTrimWithPlaneParams.plane ( self)
Input plane to cut mesh with

Reimplemented in mrmeshpy.TrimWithPlaneParams, and mrmeshpy.TrimWithPlaneParams.

Member Data Documentation

◆ _offsetof_eps

typing mrmeshpy.ConstTrimWithPlaneParams._offsetof_eps = 16
staticprotected

◆ _offsetof_onEdgeSplitCallback

typing mrmeshpy.ConstTrimWithPlaneParams._offsetof_onEdgeSplitCallback = 24
staticprotected

◆ _offsetof_plane

typing mrmeshpy.ConstTrimWithPlaneParams._offsetof_plane = 0
staticprotected

The documentation for this class was generated from the following file: