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

Public Member Functions

 Cone3d (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Cone3d ()
 Cone3d (meshlib.Cone3d _other)
 Cone3d (meshlib.Line3d inAxis, double inAngle, double inHeight)
meshlib.Cone3d assignFromAnother (meshlib.Cone3d _other)
meshlib.Vector3d center_mut ()
meshlib.Vector3d center ()
meshlib.Vector3d direction_mut ()
meshlib.Vector3d direction ()
meshlib.Vector3d apex_mut ()
meshlib.Vector3d apex ()
meshlib.Vector3d projectPoint (meshlib.Vector3d point)
meshlib.Line3d axis ()
void setAxis (meshlib.Line3d value)
double angle ()
void setAngle (double value)
double height ()
void setHeight (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

Base class for cone parameterization Generated from class MR::Cone3d.

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

Constructor & Destructor Documentation

◆ Cone3d() [1/4]

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

◆ Cone3d() [2/4]

meshlib.Cone3d.Cone3d ( )

Constructs an empty (default-constructed) instance.

Calls MR_Cone3d_DefaultConstruct().

◆ Cone3d() [3/4]

meshlib.Cone3d.Cone3d ( meshlib.Cone3d _other)

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

Calls MR_Cone3d_ConstructFromAnother().

◆ Cone3d() [4/4]

meshlib.Cone3d.Cone3d ( meshlib.Line3d inAxis,
double inAngle,
double inHeight )

inAxis – apex position and main axis direction. For any cone point dot( point , direction ) >=0 inAngle – cone angle, main axis vs side inHeight – cone inHeight main axis direction could be non normalized. Generated from constructor MR::Cone3d::Cone3d. The reference to the parameter inAxis might be preserved in the constructed object.

Calls MR_Cone3d_Construct().

Member Function Documentation

◆ angle()

double meshlib.Cone3d.angle ( )

cone angle, main axis vs side Returns a pointer to a member variable of class MR::Cone3d named angle. The reference to this object might be preserved as the return value.

Calls MR_Cone3d_Get_angle().

◆ apex()

meshlib.Vector3d meshlib.Cone3d.apex ( )

return cone apex position Generated from method MR::Cone3d::apex.

Calls MR_Cone3d_apex().

◆ apex_mut()

meshlib.Vector3d meshlib.Cone3d.apex_mut ( )

return cone apex position Generated from method MR::Cone3d::apex.

Calls MR_Cone3d_apex_mut().

◆ assignFromAnother()

meshlib.Cone3d meshlib.Cone3d.assignFromAnother ( meshlib.Cone3d _other)

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

Calls MR_Cone3d_AssignFromAnother().

◆ axis()

meshlib.Line3d meshlib.Cone3d.axis ( )

the combination of the apex of the cone and the direction of its main axis in space. Returns a pointer to a member variable of class MR::Cone3d named axis. The reference to this object might be preserved as the return value.

Calls MR_Cone3d_Get_axis().

◆ center()

meshlib.Vector3d meshlib.Cone3d.center ( )

now we use an apex as center of the cone. Generated from method MR::Cone3d::center.

Calls MR_Cone3d_center().

◆ center_mut()

meshlib.Vector3d meshlib.Cone3d.center_mut ( )

now we use an apex as center of the cone. Generated from method MR::Cone3d::center.

Calls MR_Cone3d_center_mut().

◆ direction()

meshlib.Vector3d meshlib.Cone3d.direction ( )

main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3d::direction.

Calls MR_Cone3d_direction().

◆ direction_mut()

meshlib.Vector3d meshlib.Cone3d.direction_mut ( )

main axis direction. It could be non normalized. For any cone point dot( point , direction ) >=0 Generated from method MR::Cone3d::direction.

Calls MR_Cone3d_direction_mut().

◆ height()

double meshlib.Cone3d.height ( )

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

Calls MR_Cone3d_Get_height().

◆ projectPoint()

meshlib.Vector3d meshlib.Cone3d.projectPoint ( meshlib.Vector3d point)

Generated from method MR::Cone3d::projectPoint.

Calls MR_Cone3d_projectPoint().

◆ setAngle()

void meshlib.Cone3d.setAngle ( double value)

cone angle, main axis vs side Modifies a member variable of class MR::Cone3d named angle.

Calls MR_Cone3d_Set_angle().

◆ setAxis()

void meshlib.Cone3d.setAxis ( meshlib.Line3d value)

the combination of the apex of the cone and the direction of its main axis in space. Modifies a member variable of class MR::Cone3d named axis. The reference to the parameter value might be preserved in this object in element axis.

Calls MR_Cone3d_Set_axis().

◆ setHeight()

void meshlib.Cone3d.setHeight ( double value)

cone height Modifies a member variable of class MR::Cone3d named height.

Calls MR_Cone3d_Set_height().


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