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

Public Member Functions

 OneMeshContour (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 OneMeshContour ()
 OneMeshContour (meshlib.Vector_MR_OneMeshIntersection intersections, boolean closed)
 OneMeshContour (meshlib.OneMeshContour _other)
meshlib.OneMeshContour assignFromAnother (meshlib.OneMeshContour _other)
meshlib.Vector_MR_OneMeshIntersection intersections ()
void setIntersections (meshlib.Vector_MR_OneMeshIntersection value)
boolean closed ()
void setClosed (boolean 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

One contour on mesh Generated from class MR::OneMeshContour.

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

Constructor & Destructor Documentation

◆ OneMeshContour() [1/4]

meshlib.OneMeshContour.OneMeshContour ( 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.

◆ OneMeshContour() [2/4]

meshlib.OneMeshContour.OneMeshContour ( )

Constructs an empty (default-constructed) instance.

Calls MR_OneMeshContour_DefaultConstruct().

◆ OneMeshContour() [3/4]

meshlib.OneMeshContour.OneMeshContour ( meshlib.Vector_MR_OneMeshIntersection intersections,
boolean closed )

Constructs MR::OneMeshContour elementwise. The reference to the parameter intersections might be preserved in the constructed object.

Calls MR_OneMeshContour_ConstructFrom().

◆ OneMeshContour() [4/4]

meshlib.OneMeshContour.OneMeshContour ( meshlib.OneMeshContour _other)

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

Calls MR_OneMeshContour_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.OneMeshContour meshlib.OneMeshContour.assignFromAnother ( meshlib.OneMeshContour _other)

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

Calls MR_OneMeshContour_AssignFromAnother().

◆ closed()

boolean meshlib.OneMeshContour.closed ( )

Returns a pointer to a member variable of class MR::OneMeshContour named closed. The reference to this object might be preserved as the return value.

Calls MR_OneMeshContour_Get_closed().

Reimplemented from meshlib.CppObject.

◆ intersections()

meshlib.Vector_MR_OneMeshIntersection meshlib.OneMeshContour.intersections ( )

Returns a pointer to a member variable of class MR::OneMeshContour named intersections. The reference to this object might be preserved as the return value.

Calls MR_OneMeshContour_Get_intersections().

◆ setClosed()

void meshlib.OneMeshContour.setClosed ( boolean value)

Modifies a member variable of class MR::OneMeshContour named closed.

Calls MR_OneMeshContour_Set_closed().

◆ setIntersections()

void meshlib.OneMeshContour.setIntersections ( meshlib.Vector_MR_OneMeshIntersection value)

Modifies a member variable of class MR::OneMeshContour named intersections. The reference to the parameter value might be preserved in this object in element intersections.

Calls MR_OneMeshContour_Set_intersections().


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