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

Public Member Functions

 Parabolad (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Parabolad ()
 Parabolad (meshlib.Parabolad _other)
 Parabolad (double a, double b, double c)
meshlib.Parabolad assignFromAnother (meshlib.Parabolad _other)
double call (double x)
double extremArg ()
double extremVal ()
double a ()
void setA (double value)
double b ()
void setB (double value)
double c ()
void setC (double 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 quadratic function f(x) = a*x*x + b*x + c Generated from class MR::Parabolad.

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

Constructor & Destructor Documentation

◆ Parabolad() [1/4]

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

◆ Parabolad() [2/4]

meshlib.Parabolad.Parabolad ( )

Constructs an empty (default-constructed) instance.

Calls MR_Parabolad_DefaultConstruct().

◆ Parabolad() [3/4]

meshlib.Parabolad.Parabolad ( meshlib.Parabolad _other)

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

Calls MR_Parabolad_ConstructFromAnother().

◆ Parabolad() [4/4]

meshlib.Parabolad.Parabolad ( double a,
double b,
double c )

Generated from constructor MR::Parabolad::Parabolad.

Calls MR_Parabolad_Construct().

Member Function Documentation

◆ a()

double meshlib.Parabolad.a ( )

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

Calls MR_Parabolad_Get_a().

◆ assignFromAnother()

meshlib.Parabolad meshlib.Parabolad.assignFromAnother ( meshlib.Parabolad _other)

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

Calls MR_Parabolad_AssignFromAnother().

◆ b()

double meshlib.Parabolad.b ( )

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

Calls MR_Parabolad_Get_b().

◆ c()

double meshlib.Parabolad.c ( )

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

Calls MR_Parabolad_Get_c().

◆ call()

double meshlib.Parabolad.call ( double x)

compute value of quadratic function at any x Generated from method MR::Parabolad::operator().

Calls MR_Parabolad_call().

◆ extremArg()

double meshlib.Parabolad.extremArg ( )

argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremArg.

Calls MR_Parabolad_extremArg().

◆ extremVal()

double meshlib.Parabolad.extremVal ( )

value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremVal.

Calls MR_Parabolad_extremVal().

◆ setA()

void meshlib.Parabolad.setA ( double value)

Modifies a member variable of class MR::Parabolad named a.

Calls MR_Parabolad_Set_a().

◆ setB()

void meshlib.Parabolad.setB ( double value)

Modifies a member variable of class MR::Parabolad named b.

Calls MR_Parabolad_Set_b().

◆ setC()

void meshlib.Parabolad.setC ( double value)

Modifies a member variable of class MR::Parabolad named c.

Calls MR_Parabolad_Set_c().


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