MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.features.SubfeatureInfo Class Reference
Inheritance diagram for meshlib.features.SubfeatureInfo:

Public Member Functions

 SubfeatureInfo (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 SubfeatureInfo ()
 SubfeatureInfo (java.lang.String name, boolean isInfinite, meshlib.std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane__f931f8aa create)
 SubfeatureInfo (meshlib.features.SubfeatureInfo _other)
meshlib.features.SubfeatureInfo assignFromAnother (meshlib.features.SubfeatureInfo _other)
meshlib.std_string_view name ()
void setName (java.lang.String value)
boolean isInfinite ()
void setIsInfinite (boolean value)
meshlib.std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane__f931f8aa create ()
void setCreate (meshlib.std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane__f931f8aa value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Describes a single feature produced by forEachSubfeature(). Generated from class MR::Features::SubfeatureInfo.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ SubfeatureInfo() [1/4]

meshlib.features.SubfeatureInfo.SubfeatureInfo ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ SubfeatureInfo() [2/4]

meshlib.features.SubfeatureInfo.SubfeatureInfo ( )

Constructs an empty (default-constructed) instance.

Calls MR_Features_SubfeatureInfo_DefaultConstruct().

◆ SubfeatureInfo() [3/4]

meshlib.features.SubfeatureInfo.SubfeatureInfo ( java.lang.String name,
boolean isInfinite,
meshlib.std_function_std_variant_MR_Sphere3f_MR_Features_Primitives_ConeSegment_MR_Features_Primitives_Plane__f931f8aa create )

Constructs MR::Features::SubfeatureInfo elementwise. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter create might be preserved in the constructed object.

Calls MR_Features_SubfeatureInfo_ConstructFrom().

◆ SubfeatureInfo() [4/4]

meshlib.features.SubfeatureInfo.SubfeatureInfo ( meshlib.features.SubfeatureInfo _other)

Generated from constructor MR::Features::SubfeatureInfo::SubfeatureInfo. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Features_SubfeatureInfo_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.features.SubfeatureInfo meshlib.features.SubfeatureInfo.assignFromAnother ( meshlib.features.SubfeatureInfo _other)

Generated from method MR::Features::SubfeatureInfo::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Features_SubfeatureInfo_AssignFromAnother().

◆ 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. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named create. The reference to this object might be preserved as the return value.

Calls MR_Features_SubfeatureInfo_Get_create().

◆ isInfinite()

boolean meshlib.features.SubfeatureInfo.isInfinite ( )

Whether the feature has infinite length. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named isInfinite. The reference to this object might be preserved as the return value.

Calls MR_Features_SubfeatureInfo_Get_isInfinite().

◆ name()

meshlib.std_string_view meshlib.features.SubfeatureInfo.name ( )

A user-friendly name. Returns a pointer to a member variable of class MR::Features::SubfeatureInfo named name. The reference to this object might be preserved as the return value.

Calls MR_Features_SubfeatureInfo_Get_name().

◆ setCreate()

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. Modifies a member variable of class MR::Features::SubfeatureInfo named create. The reference to the parameter value might be preserved in this object in element create.

Calls MR_Features_SubfeatureInfo_Set_create().

◆ setIsInfinite()

void meshlib.features.SubfeatureInfo.setIsInfinite ( boolean value)

Whether the feature has infinite length. Modifies a member variable of class MR::Features::SubfeatureInfo named isInfinite.

Calls MR_Features_SubfeatureInfo_Set_isInfinite().

◆ setName()

void meshlib.features.SubfeatureInfo.setName ( java.lang.String value)

A user-friendly name. Modifies a member variable of class MR::Features::SubfeatureInfo named name. The reference to the parameter value might be preserved in this object in element name.

Calls MR_Features_SubfeatureInfo_Set_name().


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