MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Features.Primitives.ConstPlane Class Reference
Inheritance diagram for mrmeshpy.Features.Primitives.ConstPlane:

Public Member Functions

 __init__ (self, *args, **kwargs)
Sphere3f intersectWithLine (self, Features.Primitives.ConstConeSegment line)
Features.Primitives.ConeSegment intersectWithPlane (self, Features.Primitives.ConstPlane other)
ConstVector3f center (self)
ConstVector3f normal (self)

Static Public Member Functions

bool __eq__ (*args, **kwargs)
bool __ne__ (*args, **kwargs)

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_normal = 12

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.Features.Primitives.ConstPlane.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.Features.Primitives.ConstPlane) -> None

2. __init__(self: meshlib.mrmeshpy.Features.Primitives.ConstPlane, arg0: meshlib.mrmeshpy.Features.Primitives.ConstPlane) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.Features.Primitives.ConstPlane, center: meshlib.mrmeshpy.ConstVector3f, normal: meshlib.mrmeshpy.ConstVector3f) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.Features.Primitives.ConstPlane, : meshlib.mrmeshpy.Features.Primitives.ConstPlane) -> None

Member Function Documentation

◆ __eq__()

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

◆ __ne__()

bool mrmeshpy.Features.Primitives.ConstPlane.__ne__ ( * args,
** kwargs )
static

◆ center()

ConstVector3f mrmeshpy.Features.Primitives.ConstPlane.center ( self)

◆ intersectWithLine()

Sphere3f mrmeshpy.Features.Primitives.ConstPlane.intersectWithLine ( self,
Features.Primitives.ConstConeSegment 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 mrmeshpy.Features.Primitives.ConstPlane.intersectWithPlane ( self,
Features.Primitives.ConstPlane other )
Returns an infinite line, with the center in a sane location.

◆ normal()

ConstVector3f mrmeshpy.Features.Primitives.ConstPlane.normal ( self)
This must be normalized. The sign doesn't matter.

Reimplemented in mrmeshpy.Features.Primitives.Plane, and mrmeshpy.Features.Primitives.Plane.

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.Features.Primitives.ConstPlane._offsetof_center = 0
staticprotected

◆ _offsetof_normal

typing mrmeshpy.Features.Primitives.ConstPlane._offsetof_normal = 12
staticprotected

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