/** * Computes the line on which this line segment is lying. * The line's vector is the direction from the first to the second endpoint * of this line segment. * * @return the line on which this line segment is lying. */ public Line3d getLineCopy() { return new Line3d(firstEndpoint, secondEndpoint); }
public FrameLine(ReferenceFrame referenceFrame) { this(referenceFrame, new Line3d()); }
public FrameLine(ReferenceFrame referenceFrame, Point3d point, Vector3d vector) { this(referenceFrame, new Line3d(point, vector)); }
public FrameLine(FrameLine frameLine) { this(frameLine.getReferenceFrame(), new Line3d(frameLine.getPoint(), frameLine.getNormalizedVector())); }
public FrameLine(FramePoint point, FrameVector vector) { this(point.getReferenceFrame(), new Line3d(point.getGeometryObject(), vector.getGeometryObject())); point.checkReferenceFrameMatch(vector); }