MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.TrimWithPlaneParams Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, TrimWithPlaneParams arg0)
 
None __init__ (self, Plane3f plane, float eps, func_void_from_Id_EdgeTag_Id_EdgeTag_float onEdgeSplitCallback)
 
float eps (self)
 
None eps (self, float arg1)
 
func_void_from_Id_EdgeTag_Id_EdgeTag_float onEdgeSplitCallback (self)
 
None onEdgeSplitCallback (self, func_void_from_Id_EdgeTag_Id_EdgeTag_float arg1)
 
Plane3f plane (self)
 
None plane (self, Plane3f arg1)
 

Detailed Description

Generated from:  MR::TrimWithPlaneParams

stores basic params for trimWithPlane function

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.TrimWithPlaneParams.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.TrimWithPlaneParams.__init__ ( self,
TrimWithPlaneParams arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.TrimWithPlaneParams.__init__ ( self,
Plane3f plane,
float eps,
func_void_from_Id_EdgeTag_Id_EdgeTag_float onEdgeSplitCallback )
Implicit aggregate constructor.

Member Function Documentation

◆ eps() [1/2]

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

◆ eps() [2/2]

None meshlib.mrmeshpy.TrimWithPlaneParams.eps ( self,
float arg1 )

◆ onEdgeSplitCallback() [1/2]

func_void_from_Id_EdgeTag_Id_EdgeTag_float meshlib.mrmeshpy.TrimWithPlaneParams.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

◆ onEdgeSplitCallback() [2/2]

None meshlib.mrmeshpy.TrimWithPlaneParams.onEdgeSplitCallback ( self,
func_void_from_Id_EdgeTag_Id_EdgeTag_float arg1 )

◆ plane() [1/2]

Plane3f meshlib.mrmeshpy.TrimWithPlaneParams.plane ( self)
Input plane to cut mesh with

◆ plane() [2/2]

None meshlib.mrmeshpy.TrimWithPlaneParams.plane ( self,
Plane3f arg1 )

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