public class LineSegment extends Mark
Constructor and Description |
---|
LineSegment() |
LineSegment(Point3i startPoint,
Point3i endPoint) |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
box(Dimensions dimensions,
int regionID) |
BoundingBox |
boxAllRegions(Dimensions dimensions) |
Point3d |
centerPoint() |
Mark |
duplicate() |
Point3d |
getDirectionVector() |
Point3d |
getEndPoint() |
String |
getName() |
Point3d |
getStartPoint() |
byte |
isPointInside(Point3i point) |
int |
numberDimensions() |
int |
numberRegions() |
void |
scale(ScaleFactor scaleFactor)
Scales the mark in X and Y dimensions.
|
void |
setPoints(Point3d startPoint,
Point3d endPoint) |
void |
setPoints(Point3i startPoint,
Point3i endPoint) |
String |
toString()
String representation of the
Mark . |
double |
volume(int regionID) |
deriveObject, equalsDeep, equalsID, getIdentifier, identifier, quickOverlap, setId
public byte isPointInside(Point3i point)
isPointInside
in class Mark
public BoundingBox box(Dimensions dimensions, int regionID)
public String toString()
Mark
Mark
.public int numberDimensions()
numberDimensions
in class Mark
public void scale(ScaleFactor scaleFactor)
Mark
public Point3d centerPoint()
centerPoint
in class Mark
public Point3d getStartPoint()
public Point3d getEndPoint()
public Point3d getDirectionVector()
public int numberRegions()
numberRegions
in class Mark
public BoundingBox boxAllRegions(Dimensions dimensions)
boxAllRegions
in class Mark
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.