Skip to content

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.

ReturnsSignatureSummary
ObjVertexof(float x, float y) factoryCreates the point x, y, with z at 0F.
ObjVertexof(float x, float y, float z) factoryCreates the point x, y, z.

ReturnsSignatureSummary
floatgetX()Returns the X coordinate.
floatgetY()Returns the Y coordinate, up.
floatgetZ()Returns the Z coordinate.

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.

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

Report a problem with this page