ObjVertex
final class ObjVertex
Package: dev.joid.lib.obj.data · Module: core · Source: ObjVertex.java
A point or a normal of an ObjModel, in model units.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
ObjVertex | of(float x, float y) factory | Creates the point x, y, with z at 0F. |
ObjVertex | of(float x, float y, float z) factory | Creates the point x, y, z. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
float | getX() | Returns the X coordinate. |
float | getY() | Returns the Y coordinate, up. |
float | getZ() | Returns the Z coordinate. |
Creation details
Section titled “Creation details”ObjVertex of(float x, float y) factory
Creates the point x, y, with z at 0F.
ObjVertex of(float x, float y, float z) factory
Creates the point x, y, z.
Method details
Section titled “Method details”float getX()
Returns the X coordinate.
float getY()
Returns the Y coordinate, up.
float getZ()
Returns the Z coordinate.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
