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

Public Member Functions

 EdgeSegmentd (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 EdgeSegmentd ()
 EdgeSegmentd (meshlib.EdgeSegmentd _other)
 EdgeSegmentd (meshlib.EdgeId e, java.lang.Double a, java.lang.Double b)
meshlib.EdgeSegmentd assignFromAnother (meshlib.EdgeSegmentd _other)
meshlib.EdgePointd edgePointA ()
meshlib.EdgePointd edgePointB ()
boolean valid ()
boolean opEqual (meshlib.EdgeSegmentd rhs)
boolean opNotEqual (meshlib.EdgeSegmentd rhs)
meshlib.EdgeSegmentd sym ()
meshlib.EdgeId e ()
void setE (meshlib.EdgeId value)
meshlib.SegmPointd a ()
void setA (meshlib.SegmPointd value)
meshlib.SegmPointd b ()
void setB (meshlib.SegmPointd 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

Represents a segment on one edge Generated from class MR::EdgeSegmentd.

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

Constructor & Destructor Documentation

◆ EdgeSegmentd() [1/4]

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

◆ EdgeSegmentd() [2/4]

meshlib.EdgeSegmentd.EdgeSegmentd ( )

Constructs an empty (default-constructed) instance.

Calls MR_EdgeSegmentd_DefaultConstruct().

◆ EdgeSegmentd() [3/4]

meshlib.EdgeSegmentd.EdgeSegmentd ( meshlib.EdgeSegmentd _other)

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

Calls MR_EdgeSegmentd_ConstructFromAnother().

◆ EdgeSegmentd() [4/4]

meshlib.EdgeSegmentd.EdgeSegmentd ( meshlib.EdgeId e,
java.lang.Double a,
java.lang.Double b )

Generated from constructor MR::EdgeSegmentd::EdgeSegmentd. The reference to the parameter e might be preserved in the constructed object.

Calls MR_EdgeSegmentd_Construct().

Member Function Documentation

◆ a()

meshlib.SegmPointd meshlib.EdgeSegmentd.a ( )

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

Calls MR_EdgeSegmentd_Get_a().

◆ assignFromAnother()

meshlib.EdgeSegmentd meshlib.EdgeSegmentd.assignFromAnother ( meshlib.EdgeSegmentd _other)

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

Calls MR_EdgeSegmentd_AssignFromAnother().

◆ b()

meshlib.SegmPointd meshlib.EdgeSegmentd.b ( )

end of the segment Returns a pointer to a member variable of class MR::EdgeSegmentd named b. The reference to this object might be preserved as the return value.

Calls MR_EdgeSegmentd_Get_b().

◆ e()

meshlib.EdgeId meshlib.EdgeSegmentd.e ( )

id of the edge Returns a pointer to a member variable of class MR::EdgeSegmentd named e. The reference to this object might be preserved as the return value.

Calls MR_EdgeSegmentd_Get_e().

◆ edgePointA()

meshlib.EdgePointd meshlib.EdgeSegmentd.edgePointA ( )

returns starting EdgePoint Generated from method MR::EdgeSegmentd::edgePointA.

Calls MR_EdgeSegmentd_edgePointA().

◆ edgePointB()

meshlib.EdgePointd meshlib.EdgeSegmentd.edgePointB ( )

returns ending EdgePoint Generated from method MR::EdgeSegmentd::edgePointB.

Calls MR_EdgeSegmentd_edgePointB().

◆ opEqual()

boolean meshlib.EdgeSegmentd.opEqual ( meshlib.EdgeSegmentd rhs)

Generated from method MR::EdgeSegmentd::operator==.

Calls MR_equal_MR_EdgeSegmentd().

◆ opNotEqual()

boolean meshlib.EdgeSegmentd.opNotEqual ( meshlib.EdgeSegmentd rhs)

Generated from method MR::EdgeSegmentd::operator!=.

Calls MR_not_equal_MR_EdgeSegmentd().

◆ setA()

void meshlib.EdgeSegmentd.setA ( meshlib.SegmPointd value)

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

Calls MR_EdgeSegmentd_Set_a().

◆ setB()

void meshlib.EdgeSegmentd.setB ( meshlib.SegmPointd value)

end of the segment Modifies a member variable of class MR::EdgeSegmentd named b. The reference to the parameter value might be preserved in this object in element b.

Calls MR_EdgeSegmentd_Set_b().

◆ setE()

void meshlib.EdgeSegmentd.setE ( meshlib.EdgeId value)

id of the edge Modifies a member variable of class MR::EdgeSegmentd named e. The reference to the parameter value might be preserved in this object in element e.

Calls MR_EdgeSegmentd_Set_e().

◆ sym()

meshlib.EdgeSegmentd meshlib.EdgeSegmentd.sym ( )

represents the same segment relative to sym edge in Generated from method MR::EdgeSegmentd::sym.

Calls MR_EdgeSegmentd_sym().

◆ valid()

boolean meshlib.EdgeSegmentd.valid ( )

returns true if the edge is valid and start point is less than end point Generated from method MR::EdgeSegmentd::valid.

Calls MR_EdgeSegmentd_valid().


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