public class LineSegment3D extends Line3D
Modifier and Type | Field and Description |
---|---|
private double |
_length |
_direction, _startpoint
Constructor and Description |
---|
LineSegment3D()
Creates a new instance of LineSegment3D
|
LineSegment3D(Point3D startpoint,
Hep3Vector direction,
double length) |
LineSegment3D(Point3D startpoint,
Point3D endpoint) |
Modifier and Type | Method and Description |
---|---|
Point3D |
getEndPoint() |
double |
getLength() |
Line3D |
getLine() |
List<Point3D> |
getPoints() |
Inside |
inside(Hep3Vector point) |
void |
reverse() |
distanceTo, distanceTo, getDirection, getEndPoint, getStartPoint, transform, transformed
public LineSegment3D()
public LineSegment3D(Point3D startpoint, Hep3Vector direction, double length)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.