Uses of Class
eu.svjatoslav.sixth.e3d.geometry.Point3D
Packages that use Point3D
Package
Description
Provides basic geometry classes for 2D and 3D coordinates and shapes.
Graphical user interface components for the Sixth 3D engine.
Sixth 3D engine.
Ray tracer for rendering voxel data stored in an octree structure.
Lighting system for flat-shaded polygon rendering.
Primitive shape implementations for the rasterization pipeline.
3D line segment rendering with perspective-correct width and alpha blending.
Solid-color polygon rendering with scanline rasterization.
Composite shapes that group multiple primitives into compound 3D objects.
Base class and utilities for composite shapes.
Solid composite shapes built from SolidTriangle primitives.
Sixth 3D engine.
Wireframe composite shapes built from Line primitives.
-
Uses of Point3D in eu.svjatoslav.sixth.e3d.geometry
Fields in eu.svjatoslav.sixth.e3d.geometry declared as Point3DModifier and TypeFieldDescriptionPlane.normalThe unit normal vector perpendicular to the plane surface.final Point3DBox.p1The first corner point of the box.final Point3DBox.p2The second corner point of the box (opposite corner from p1).Methods in eu.svjatoslav.sixth.e3d.geometry that return Point3DModifier and TypeMethodDescriptionAdds another point to this point in place.Adds coordinates of current point to one or more other points.Point3D.clone()Create new point by cloning position of current point.Copies coordinates from another point into this point.Point3D.computeMiddlePoint(Point3D p1, Point3D p2) Set current point coordinates to the middle point between two other points.Computes the cross-product of this vector with another.Point3D.divide(double factor) Divides all coordinates by a factor.Box.getCenter()Returns the geometric center of this box.Returns a new point that is a linear interpolation between this point and another.Point3D.multiply(double factor) Multiplies all coordinates by a factor.Point3D.negate()Negates this point's coordinates in place.static Point3DPoint3D.origin()Returns a new point at the origin (0, 0, 0).static Point3DPoint3D.point(double x, double y, double z) Returns a new point with the specified coordinates.Point3D.rotate(double angleXZ, double angleYZ) Rotate current point around the origin by the given angles.Rotates this point around a center point by the given XZ and YZ angles.Subtracts another point from this point in place.Point2D.to3D()Converts this 2D point to a 3D point with z = 0.Point3D.translateX(double xIncrement) Translates this point along the X axis.Point3D.translateY(double yIncrement) Translates this point along the Y axis.Point3D.translateZ(double zIncrement) Translates this point along the Z axis.Point3D.unit()Returns a new unit vector (normalized) in the same direction.Returns a new point that is the sum of this point and another.Point3D.withDivided(double factor) Returns a new point with coordinates divided by a factor.Point3D.withMultiplied(double factor) Returns a new point with coordinates multiplied by a factor.Point3D.withNegated()Returns a new point with negated coordinates.Point3D.withSubtracted(Point3D other) Returns a new point that is this point minus another.Point3D.zero()Resets point coordinates to zero along all axes.Methods in eu.svjatoslav.sixth.e3d.geometry with parameters of type Point3DModifier and TypeMethodDescriptionAdds another point to this point in place.Adds coordinates of current point to one or more other points.Copies coordinates from another point into this point.Point3D.computeMiddlePoint(Point3D p1, Point3D p2) Set current point coordinates to the middle point between two other points.Computes the cross-product of this vector with another.doubleComputes the dot product of this vector with another.static PlanePlane.fromPoints(Point3D a, Point3D b, Point3D c) Creates a plane from three non-collinear points.doublePoint3D.getAngleXY(Point3D anotherPoint) Computes the angle on the X-Y plane between this point and another point.doublePoint3D.getAngleXZ(Point3D anotherPoint) Computes the angle on the X-Z plane between this point and another point.doublePoint3D.getAngleYZ(Point3D anotherPoint) Computes the angle on the Y-Z plane between this point and another point.doublePoint3D.getDistanceTo(Point3D anotherPoint) Compute distance to another point.Returns a new point that is a linear interpolation between this point and another.Rotates this point around a center point by the given XZ and YZ angles.voidBox.setBoxSize(Point3D size) Sets the size of the box.Subtracts another point from this point in place.Returns a new point that is the sum of this point and another.Point3D.withSubtracted(Point3D other) Returns a new point that is this point minus another.Constructors in eu.svjatoslav.sixth.e3d.geometry with parameters of type Point3D -
Uses of Point3D in eu.svjatoslav.sixth.e3d.gui
Methods in eu.svjatoslav.sixth.e3d.gui that return Point3DModifier and TypeMethodDescriptionCamera.getMovementVector()Returns the current movement velocity vector, relative to the camera's orientation.Methods in eu.svjatoslav.sixth.e3d.gui with parameters of type Point3DModifier and TypeMethodDescriptionvoidOrients the camera to look at a target point in world coordinates.Constructors in eu.svjatoslav.sixth.e3d.gui with parameters of type Point3DModifierConstructorDescriptionGuiComponent(Transform transform, ViewPanel viewPanel, Point3D size) Creates a GUI component with the specified transform, view panel, and bounding box size. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.math
Fields in eu.svjatoslav.sixth.e3d.math declared as Point3DModifier and TypeFieldDescriptionVertex.coordinateVertex coordinate in local/model 3D space.Vertex.normalNormal vector for this vertex (optional).Vertex.transformedCoordinateVertex coordinate relative to the viewer after transformation (camera space).Methods in eu.svjatoslav.sixth.e3d.math that return Point3DModifier and TypeMethodDescriptionTransform.getTranslation()Returns the translation component of this transform.Transform.withTransformed(Point3D point) Returns a new point with this transform applied.Methods in eu.svjatoslav.sixth.e3d.math with parameters of type Point3DModifier and TypeMethodDescriptionstatic TransformTransform.fromAngles(Point3D translation, double yaw, double pitch) Creates a transform with the specified translation and rotation from Euler angles.static QuaternionQuaternion.fromAxisAngle(Point3D axis, double angle) Creates a quaternion from an axis-angle representation.Transform.setTranslation(Point3D translation) Sets the translation for this transform by copying the values from the given point.voidApplies this matrix transformation to a point.voidApplies this transform to a point: rotation followed by translation.voidTransforms a point through all transforms in the stack.Transform.withTransformed(Point3D point) Returns a new point with this transform applied.Constructors in eu.svjatoslav.sixth.e3d.math with parameters of type Point3DModifierConstructorDescriptionCreates a transform with the specified translation and no rotation.Transform(Point3D translation, Quaternion rotation) Creates a transform with the specified translation and rotation.Creates a vertex at the specified position with no texture coordinate.Creates a vertex at the specified position with an optional texture coordinate. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.octree.raytracer
Fields in eu.svjatoslav.sixth.e3d.renderer.octree.raytracer declared as Point3DModifier and TypeFieldDescriptionRay.directionThe direction vector of the ray.Ray.hitPointThe point in world space where the ray intersected an octree cell.Ray.originThe origin point of the ray (the starting position in world space).Constructors in eu.svjatoslav.sixth.e3d.renderer.octree.raytracer with parameters of type Point3D -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.lighting
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.lighting that return Point3DModifier and TypeMethodDescriptionLightSource.getPosition()Returns the position of this light source.Methods in eu.svjatoslav.sixth.e3d.renderer.raster.lighting with parameters of type Point3DModifier and TypeMethodDescriptionvoidLightingManager.computeLighting(Point3D polygonCenter, Point3D normal, Color baseColor, Color result) Computes lighting for a polygon and stores the result in an existing Color.voidLightSource.setPosition(Point3D position) Sets the position of this light source.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.lighting with parameters of type Point3DModifierConstructorDescriptionLightSource(Point3D position, Color color) Creates a new light source at the specified position with the given color.LightSource(Point3D position, Color color, double intensity) Creates a new light source at the specified position with the given color and intensity. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic that return Point3DModifier and TypeMethodDescriptionBillboard.getLocation()Returns the 3D position of this billboard.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic with parameters of type Point3DModifierConstructorDescriptionCreates a billboard at the specified position with the given scale and texture.GlowingPoint(Point3D point, double pointSize, Color color) Creates a glowing point at the specified position with the given size and color. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.line
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.line with parameters of type Point3DModifier and TypeMethodDescriptionCreates a line between two points using this appearance's width and color.Creates a line between two points using this appearance's width and a custom color.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.line with parameters of type Point3D -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon with parameters of type Point3DModifier and TypeMethodDescriptionstatic SolidPolygonCreates a quad (4-vertex polygon).static SolidPolygonCreates a triangle (3-vertex polygon).Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon with parameters of type Point3DModifierConstructorDescriptionSolidPolygon(Point3D[] vertices, Color color) Creates a solid polygon with the specified vertices and color.SolidPolygon(Point3D point1, Point3D point2, Point3D point3, Color color) Creates a solid triangle with the specified vertices and color.Constructor parameters in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon with type arguments of type Point3DModifierConstructorDescriptionSolidPolygon(List<Point3D> points, Color color) Creates a solid polygon from a list of points and color. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite
Fields in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite declared as Point3DModifier and TypeFieldDescriptionTexturedRectangle.bottomLeftBottom-left corner position in local 3D coordinates.TexturedRectangle.bottomRightBottom-right corner position in local 3D coordinates.TexturedRectangle.topLeftTop-left corner position in local 3D coordinates.TexturedRectangle.topRightTop-right corner position in local 3D coordinates.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite with parameters of type Point3DModifierConstructorDescriptionForwardOrientedTextBlock(Point3D point, double scale, int maxUpscaleFactor, String text, Color textColor) Creates a new forward-oriented text block at the given 3D position.Creates a new graph visualization at the specified 3D location.LightSourceMarker(Point3D location, Color color) Creates a new light source marker at the specified location. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.base
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.base that return Point3DModifier and TypeMethodDescriptionAbstractCompositeShape.getLocation()Returns the world-space position of this composite shape.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.base with parameters of type Point3DModifierConstructorDescriptionAbstractCompositeShape(Point3D location) Creates a composite shape at the specified location with no rotation. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.solid
Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.solid with parameters of type Point3DModifierConstructorDescriptionSolidPolygonArrow(Point3D startPoint, Point3D endPoint, double bodyRadius, Color color) Constructs a 3D arrow pointing from start to end with sensible defaults.SolidPolygonCone(Point3D baseCenter, double radius, double height, int segments, Color color) Constructs a solid cone with circular base centered at the given point, pointing in the -Y direction.SolidPolygonCone(Point3D apexPoint, Point3D baseCenterPoint, double radius, int segments, Color color) Constructs a solid cone pointing from apex toward base center.SolidPolygonCube(Point3D center, double size, Color color) Constructs a solid cube centered at the given point.SolidPolygonCylinder(Point3D startPoint, Point3D endPoint, double radius, int segments, Color color) Constructs a solid cylinder between two end points.SolidPolygonMesh(List<SolidPolygon> triangles, Point3D location) Creates a mesh from a list of SolidPolygon triangles.SolidPolygonPyramid(Point3D baseCenter, double baseSize, double height, Color color) Constructs a solid square-based pyramid with base centered at the given point, pointing in the -Y direction.SolidPolygonPyramid(Point3D apexPoint, Point3D baseCenter, double baseSize, Color color) Constructs a solid square-based pyramid pointing from apex toward base center.SolidPolygonRectangularBox(Point3D cornerA, Point3D cornerB, Color color) Constructs a solid rectangular box between two diagonally opposite corner points in 3D space.SolidPolygonSphere(Point3D center, double radius, int segments, Color color) Constructs a solid sphere centered at the given point. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas that return Point3DModifier and TypeMethodDescriptionTextCanvas.getCharLocation(int row, int column) Computes the 3D world coordinate for the center of the character cell at the given row and column.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas with parameters of type Point3DModifierConstructorDescriptionCanvasCharacter(Point3D centerLocation, char character, Color foregroundColor, Color backgroundColor) Creates a canvas character at the specified location with given colors. -
Uses of Point3D in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe
Methods in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe with parameters of type Point3DModifier and TypeMethodDescriptionvoidAdds a new point to the drawing.Constructors in eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.wireframe with parameters of type Point3DModifierConstructorDescriptionGrid3D(Point3D cornerA, Point3D cornerB, double step, LineAppearance appearance) Constructs a 3D grid filling the volume between two diagonally opposite corner points.WireframeArrow(Point3D startPoint, Point3D endPoint, double bodyRadius, double tipRadius, double tipLength, int segments, LineAppearance appearance) Constructs a 3D wireframe arrow pointing from start to end with full control over all dimensions.WireframeArrow(Point3D startPoint, Point3D endPoint, double bodyRadius, LineAppearance appearance) Constructs a 3D wireframe arrow pointing from start to end with sensible defaults.WireframeBox(Point3D cornerA, Point3D cornerB, LineAppearance appearance) Constructs a wireframe box from two diagonally opposite corner points.WireframeCone(Point3D baseCenter, double radius, double height, int segments, LineAppearance appearance) Constructs a wireframe cone with circular base centered at the given point, pointing in the -Y direction.WireframeCone(Point3D apexPoint, Point3D baseCenterPoint, double radius, int segments, LineAppearance appearance) Constructs a wireframe cone pointing from apex toward base center.WireframeCube(Point3D center, double size, LineAppearance appearance) Constructs a wireframe cube centered at the given point.WireframeCylinder(Point3D startPoint, Point3D endPoint, double radius, int segments, LineAppearance appearance) Constructs a wireframe cylinder between two end points.WireframePyramid(Point3D baseCenter, double baseSize, double height, LineAppearance appearance) Constructs a wireframe square-based pyramid with base centered at the given point, pointing in the -Y direction.WireframePyramid(Point3D apexPoint, Point3D baseCenter, double baseSize, LineAppearance appearance) Constructs a wireframe square-based pyramid pointing from apex toward base center.WireframeSphere(Point3D location, float radius, LineAppearance lineFactory) Constructs a wireframe sphere at the given location with the specified radius.