public interface Segment3D extends Shape
Modifier and Type | Method and Description |
---|---|
Point3D |
closestPoint(Point3D point3D) |
Segment3D |
copy() |
double |
distanceTo(Point3D point3D) |
List<Point3D> |
getBounds() |
tr.com.terrayazilim.core.unit.DimensionUnit |
getDimensionUnit() |
tr.com.terrayazilim.core.math.Vec3d |
getDirection() |
double |
getLength() |
ShapeUnit |
getShapeUnit() |
Point3D |
getSource() |
Point3D |
getTarget() |
boolean |
isBounded() |
boolean |
isHorizontal() |
boolean |
isVertical() |
Point3D |
point(double scalar) |
double |
project(Point3D point3D) |
Segment3D |
scale(double scaleFactor) |
Segment3D |
translate(double... args) |
double project(Point3D point3D)
point3D
- Point3D point(double scalar)
scalar
- double distanceTo(Point3D point3D)
point3D
- tr.com.terrayazilim.core.math.Vec3d getDirection()
double getLength()
Point3D getSource()
Point3D getTarget()
boolean isHorizontal()
boolean isVertical()
Segment3D copy()
boolean isBounded()
Segment3D translate(double... args)
Segment3D scale(double scaleFactor)
tr.com.terrayazilim.core.unit.DimensionUnit getDimensionUnit()
getDimensionUnit
in interface Shape
ShapeUnit getShapeUnit()
getShapeUnit
in interface Shape
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.