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

Public Member Functions

 __init__ (self, *args, **kwargs)
Const_func_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane_from_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane create (self)
bool isInfinite (self)
str name (self)

Static Protected Attributes

typing _offsetof_create = 24
typing _offsetof_isInfinite = 16
typing _offsetof_name = 0

Detailed Description

Generated from:  MR::Features::SubfeatureInfo

Describes a single feature produced by `forEachSubfeature()`.

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.Features.ConstSubfeatureInfo, name: str, isInfinite: bool, create: meshlib.mrmeshpy.Const_func_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane_from_std_variant_Sphere_Vector3_float_Features_Primitives_ConeSegment_Features_Primitives_Plane) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ create()

Call this to create this subfeature.
Pass the same feature you passed to `forEachSubfeature()`, or a DIFFERENT one to create the same kind of subfeature relative to that.

Reimplemented in mrmeshpy.Features.SubfeatureInfo, and mrmeshpy.Features.SubfeatureInfo.

◆ isInfinite()

bool mrmeshpy.Features.ConstSubfeatureInfo.isInfinite ( self)
Whether the feature has infinite length.

Reimplemented in mrmeshpy.Features.SubfeatureInfo, and mrmeshpy.Features.SubfeatureInfo.

◆ name()

str mrmeshpy.Features.ConstSubfeatureInfo.name ( self)
A user-friendly name.

Reimplemented in mrmeshpy.Features.SubfeatureInfo, and mrmeshpy.Features.SubfeatureInfo.

Member Data Documentation

◆ _offsetof_create

typing mrmeshpy.Features.ConstSubfeatureInfo._offsetof_create = 24
staticprotected

◆ _offsetof_isInfinite

typing mrmeshpy.Features.ConstSubfeatureInfo._offsetof_isInfinite = 16
staticprotected

◆ _offsetof_name

typing mrmeshpy.Features.ConstSubfeatureInfo._offsetof_name = 0
staticprotected

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