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 |
Generated from: MR::Features::Primitives::Plane
| 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
|
static |
|
static |
| ConstVector3f mrmeshpy.Features.Primitives.ConstPlane.center | ( | self | ) |
Reimplemented in mrmeshpy.Features.Primitives.Plane, and mrmeshpy.Features.Primitives.Plane.
| 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).
| Features.Primitives.ConeSegment mrmeshpy.Features.Primitives.ConstPlane.intersectWithPlane | ( | self, | |
| Features.Primitives.ConstPlane | other ) |
Returns an infinite line, with the center in a sane location.
| 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.
|
staticprotected |
|
staticprotected |