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

Public Member Functions

None __init__ (self)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
TrimWithPlaneParams operator (*args, **kwargs)
 
TrimWithPlaneParams operator (*args, **kwargs)
 

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__() [1/3]

None mrmeshpy.TrimWithPlaneParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.TrimWithPlaneParams.__init__ ( self)

◆ __init__() [3/3]

None 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 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 mrmeshpy.TrimWithPlaneParams.eps ( self,
float arg1 )

◆ onEdgeSplitCallback() [1/2]

func_void_from_Id_EdgeTag_Id_EdgeTag_float 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 mrmeshpy.TrimWithPlaneParams.onEdgeSplitCallback ( self,
func_void_from_Id_EdgeTag_Id_EdgeTag_float arg1 )

◆ operator() [1/2]

TrimWithPlaneParams mrmeshpy.TrimWithPlaneParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

TrimWithPlaneParams mrmeshpy.TrimWithPlaneParams.operator ( * args,
** kwargs )
static

◆ plane() [1/2]

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

◆ plane() [2/2]

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

Member Data Documentation

◆ _offsetof_eps

typing mrmeshpy.TrimWithPlaneParams._offsetof_eps = 16
staticprotected

◆ _offsetof_onEdgeSplitCallback

typing mrmeshpy.TrimWithPlaneParams._offsetof_onEdgeSplitCallback = 24
staticprotected

◆ _offsetof_plane

typing mrmeshpy.TrimWithPlaneParams._offsetof_plane = 0
staticprotected

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