MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Features.Primitives.Plane Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, Features.Primitives.Plane arg0)
 
None __init__ (self, Vector3f center, Vector3f normal)
 
Sphere3f intersectWithLine (self, Features.Primitives.ConeSegment line)
 
Features.Primitives.ConeSegment intersectWithPlane (self, Features.Primitives.Plane other)
 
Vector3f normal (self)
 
None normal (self, Vector3f arg1)
 

Static Public Member Functions

bool __eq__ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::Features::Primitives::Plane

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Features.Primitives.Plane.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.Features.Primitives.Plane.__init__ ( self,
Features.Primitives.Plane arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.Features.Primitives.Plane.__init__ ( self,
Vector3f center,
Vector3f normal )
Implicit aggregate constructor.

Member Function Documentation

◆ __eq__()

bool meshlib.mrmeshpy.Features.Primitives.Plane.__eq__ ( * args,
** kwargs )
static

◆ intersectWithLine()

Sphere3f meshlib.mrmeshpy.Features.Primitives.Plane.intersectWithLine ( self,
Features.Primitives.ConeSegment line )
Intersects the plane with a line, returns a point (zero radius sphere).
Only `center` and `dir` are used from `line` (so if `line` is a cone/cylinder, its axis is used,
and the line is extended to infinity).

◆ intersectWithPlane()

Features.Primitives.ConeSegment meshlib.mrmeshpy.Features.Primitives.Plane.intersectWithPlane ( self,
Features.Primitives.Plane other )
Returns an infinite line, with the center in a sane location.

◆ normal() [1/2]

Vector3f meshlib.mrmeshpy.Features.Primitives.Plane.normal ( self)
This must be normalized. The sign doesn't matter.

◆ normal() [2/2]

None meshlib.mrmeshpy.Features.Primitives.Plane.normal ( self,
Vector3f arg1 )

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