public class ImmutableSphere3D extends Object implements Sphere3D, Serializable
Constructor and Description |
---|
ImmutableSphere3D(Point3D _center,
double _radius) |
ImmutableSphere3D(Sphere3D _sphere) |
Modifier and Type | Method and Description |
---|---|
Sphere3D |
copy() |
List<Point3D> |
getBounds() |
Point3D |
getCenter() |
double |
getDiameter() |
tr.com.terrayazilim.core.unit.DimensionUnit |
getDimensionUnit() |
tr.com.terrayazilim.core.math.Vec3d |
getNormal(Point3D point3D) |
double |
getRadius() |
ShapeUnit |
getShapeUnit() |
double |
getVolume() |
boolean |
isBounded() |
Sphere3D |
scale(double scaleFactor) |
Sphere3D |
translate(double... args) |
public ImmutableSphere3D(Point3D _center, double _radius)
_center
- _radius
- public ImmutableSphere3D(Sphere3D _sphere)
_sphere
- public tr.com.terrayazilim.core.math.Vec3d getNormal(Point3D point3D)
public double getDiameter()
getDiameter
in interface Sphere3D
public boolean isBounded()
public Sphere3D copy()
public tr.com.terrayazilim.core.unit.DimensionUnit getDimensionUnit()
getDimensionUnit
in interface Shape
getDimensionUnit
in interface Sphere3D
public ShapeUnit getShapeUnit()
getShapeUnit
in interface Shape
getShapeUnit
in interface Sphere3D
public Sphere3D translate(double... args)
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.