public final class PickCylinderSegment extends PickCylinder
BranchGroup.pickAll(org.scijava.java3d.PickShape)
,
Locale.pickAll(org.scijava.java3d.PickShape)
Constructor and Description |
---|
PickCylinderSegment()
Constructs an empty PickCylinderSegment.
|
PickCylinderSegment(Point3d origin,
Point3d end,
double radius)
Constructs a finite cylindrical segment pick shape from the specified
parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
getEnd(Point3d end)
Gets the end point of this PickCylinderSegment.
|
void |
set(Point3d origin,
Point3d end,
double radius)
Sets the parameters of this PickCylinderSegment to the specified values.
|
getDirection, getOrigin, getRadius
public PickCylinderSegment()
public PickCylinderSegment(Point3d origin, Point3d end, double radius)
origin
- the origin point of the cylindrical segment.end
- the end point of the cylindrical segment.radius
- the radius of the cylindrical segment.public void set(Point3d origin, Point3d end, double radius)
origin
- the origin point of the cylindrical segment.end
- the end point of the cylindrical segment.radius
- the radius of the cylindrical segment.public void getEnd(Point3d end)
end
- the Point3d object into which the end point
will be copied.Copyright © 2016–2022 SciJava. All rights reserved.