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

Public Member Functions

 EdgePointd (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 EdgePointd ()
 EdgePointd (meshlib.EdgePointd _other)
 EdgePointd (meshlib.EdgeId e, double a)
 EdgePointd (meshlib.MeshTopology topology, meshlib.VertId v)
 EdgePointd (meshlib.PolylineTopology topology, meshlib.VertId v)
boolean convertTo_bool ()
meshlib.EdgePointd assignFromAnother (meshlib.EdgePointd _other)
meshlib.VertId inVertex (meshlib.MeshTopology topology)
meshlib.VertId inVertex (meshlib.PolylineTopology topology)
meshlib.VertId getClosestVertex (meshlib.MeshTopology topology)
meshlib.VertId getClosestVertex (meshlib.PolylineTopology topology)
boolean inVertex ()
void moveToClosestVertex ()
boolean isBd (meshlib.MeshTopology topology, meshlib.FaceBitSet region)
boolean valid ()
meshlib.EdgePointd sym ()
boolean opEqual (meshlib.EdgePointd rhs)
boolean opNotEqual (meshlib.EdgePointd rhs)
meshlib.EdgeId e ()
void setE (meshlib.EdgeId value)
meshlib.SegmPointd a ()
void setA (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

encodes a point on an edge of mesh or of polyline Generated from class MR::EdgePointd.

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

Constructor & Destructor Documentation

◆ EdgePointd() [1/6]

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

◆ EdgePointd() [2/6]

meshlib.EdgePointd.EdgePointd ( )

Constructs an empty (default-constructed) instance.

Calls MR_EdgePointd_DefaultConstruct().

◆ EdgePointd() [3/6]

meshlib.EdgePointd.EdgePointd ( meshlib.EdgePointd _other)

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

Calls MR_EdgePointd_ConstructFromAnother().

◆ EdgePointd() [4/6]

meshlib.EdgePointd.EdgePointd ( meshlib.EdgeId e,
double a )

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

Calls MR_EdgePointd_Construct_MR_EdgeId().

◆ EdgePointd() [5/6]

meshlib.EdgePointd.EdgePointd ( meshlib.MeshTopology topology,
meshlib.VertId v )

Generated from constructor MR::EdgePointd::EdgePointd. The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

Calls MR_EdgePointd_Construct_MR_MeshTopology().

◆ EdgePointd() [6/6]

meshlib.EdgePointd.EdgePointd ( meshlib.PolylineTopology topology,
meshlib.VertId v )

Generated from constructor MR::EdgePointd::EdgePointd. The reference to the parameter topology might be preserved in the constructed object. The reference to the parameter v might be preserved in the constructed object.

Calls MR_EdgePointd_Construct_MR_PolylineTopology().

Member Function Documentation

◆ a()

meshlib.SegmPointd meshlib.EdgePointd.a ( )

< a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e ) Returns a pointer to a member variable of class MR::EdgePointd named a. The reference to this object might be preserved as the return value.

Calls MR_EdgePointd_Get_a().

◆ assignFromAnother()

meshlib.EdgePointd meshlib.EdgePointd.assignFromAnother ( meshlib.EdgePointd _other)

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

Calls MR_EdgePointd_AssignFromAnother().

◆ convertTo_bool()

boolean meshlib.EdgePointd.convertTo_bool ( )

Generated from conversion operator MR::EdgePointd::operator bool.

Calls MR_EdgePointd_ConvertTo_bool().

◆ e()

meshlib.EdgeId meshlib.EdgePointd.e ( )

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

Calls MR_EdgePointd_Get_e().

◆ getClosestVertex() [1/2]

meshlib.VertId meshlib.EdgePointd.getClosestVertex ( meshlib.MeshTopology topology)

returns one of two edge vertices, closest to this point Generated from method MR::EdgePointd::getClosestVertex.

Calls MR_EdgePointd_getClosestVertex_MR_MeshTopology().

◆ getClosestVertex() [2/2]

meshlib.VertId meshlib.EdgePointd.getClosestVertex ( meshlib.PolylineTopology topology)

returns one of two edge vertices, closest to this point Generated from method MR::EdgePointd::getClosestVertex.

Calls MR_EdgePointd_getClosestVertex_MR_PolylineTopology().

◆ inVertex() [1/3]

boolean meshlib.EdgePointd.inVertex ( )

returns true if the point is in a vertex Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_0().

◆ inVertex() [2/3]

meshlib.VertId meshlib.EdgePointd.inVertex ( meshlib.MeshTopology topology)

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_1_MR_MeshTopology().

◆ inVertex() [3/3]

meshlib.VertId meshlib.EdgePointd.inVertex ( meshlib.PolylineTopology topology)

returns valid vertex id if the point is in vertex, otherwise returns invalid id Generated from method MR::EdgePointd::inVertex.

Calls MR_EdgePointd_inVertex_1_MR_PolylineTopology().

◆ isBd()

boolean meshlib.EdgePointd.isBd ( meshlib.MeshTopology topology,
meshlib.FaceBitSet region )

returns true if the point is on the boundary of the region (or for whole mesh if region is nullptr) Generated from method MR::EdgePointd::isBd.

Calls MR_EdgePointd_isBd().

◆ moveToClosestVertex()

void meshlib.EdgePointd.moveToClosestVertex ( )

sets this to the closest end of the edge Generated from method MR::EdgePointd::moveToClosestVertex.

Calls MR_EdgePointd_moveToClosestVertex().

◆ opEqual()

boolean meshlib.EdgePointd.opEqual ( meshlib.EdgePointd rhs)

returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePointd::operator==.

Calls MR_equal_MR_EdgePointd().

◆ opNotEqual()

boolean meshlib.EdgePointd.opNotEqual ( meshlib.EdgePointd rhs)

returns true if two edge-points are equal including equal not-unique representation Generated from method MR::EdgePointd::operator!=.

Calls MR_not_equal_MR_EdgePointd().

◆ setA()

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

< a in [0,1], a=0 => point is in org( e ), a=1 => point is in dest( e ) Modifies a member variable of class MR::EdgePointd named a. The reference to the parameter value might be preserved in this object in element a.

Calls MR_EdgePointd_Set_a().

◆ setE()

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

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

Calls MR_EdgePointd_Set_e().

◆ sym()

meshlib.EdgePointd meshlib.EdgePointd.sym ( )

represents the same point relative to sym edge in Generated from method MR::EdgePointd::sym.

Calls MR_EdgePointd_sym().

◆ valid()

boolean meshlib.EdgePointd.valid ( )

consider this valid if the edge ID is valid Generated from method MR::EdgePointd::valid.

Calls MR_EdgePointd_valid().


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