public class ImmutableLine3D extends Object implements Line3D, Serializable
Constructor and Description |
---|
ImmutableLine3D(Line3D line3D) |
ImmutableLine3D(Point3D _origin,
Point3D _toDirection) |
ImmutableLine3D(Point3D _origin,
tr.com.terrayazilim.core.math.Vec3d _direction) |
Modifier and Type | Method and Description |
---|---|
ImmutableLine3D |
copy() |
double |
distanceTo(Point3D point3D) |
List |
getBounds() |
tr.com.terrayazilim.core.unit.DimensionUnit |
getDimensionUnit() |
tr.com.terrayazilim.core.math.Vec3d |
getDirection() |
Point3D |
getOrigin() |
ShapeUnit |
getShapeUnit() |
boolean |
isBounded() |
boolean |
isParallel(Line3D line3D) |
double |
orthogonalDistanceTo(Point3D point3D) |
Point3D |
point(double scalar) |
double |
project(Point3D point3D) |
Line3D |
scale(double scaleFactor) |
boolean |
skew(Line3D line3D) |
Line3D |
translate(double... args) |
public ImmutableLine3D(Point3D _origin, tr.com.terrayazilim.core.math.Vec3d _direction)
_origin
- _direction
- public ImmutableLine3D(Point3D _origin, Point3D _toDirection)
_origin
- _toDirection
- public ImmutableLine3D(Line3D line3D)
line3D
- public double distanceTo(Point3D point3D)
distanceTo
in interface Line3D
public double orthogonalDistanceTo(Point3D point3D)
orthogonalDistanceTo
in interface Line3D
public boolean isParallel(Line3D line3D)
isParallel
in interface Line3D
public tr.com.terrayazilim.core.math.Vec3d getDirection()
getDirection
in interface Line3D
public List getBounds()
public boolean isBounded()
public ImmutableLine3D copy()
public tr.com.terrayazilim.core.unit.DimensionUnit getDimensionUnit()
getDimensionUnit
in interface Line3D
getDimensionUnit
in interface Shape
public ShapeUnit getShapeUnit()
getShapeUnit
in interface Line3D
getShapeUnit
in interface Shape
public Line3D translate(double... args)
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.