|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.math.geometry.FrameCylinder3d
public class FrameCylinder3d
Constructor Summary | |
---|---|
FrameCylinder3d(FrameCylinder3d other)
|
|
FrameCylinder3d(ReferenceFrame referenceFrame)
|
|
FrameCylinder3d(ReferenceFrame referenceFrame,
Cylinder3d Cylinder3d)
|
|
FrameCylinder3d(ReferenceFrame referenceFrame,
double height,
double radius)
|
|
FrameCylinder3d(ReferenceFrame referenceFrame,
javax.media.j3d.Transform3D configuration,
double height,
double radius)
|
Method Summary | |
---|---|
void |
applyTransform(javax.media.j3d.Transform3D transformation)
Apply the given transform to translate and rotate this shape. |
FrameCylinder3d |
applyTransformCopy(javax.media.j3d.Transform3D transform3D)
Create a copy of this shape, then apply the given transform to translate and rotate the copy. |
void |
changeFrame(ReferenceFrame desiredFrame)
|
FrameCylinder3d |
changeFrameCopy(ReferenceFrame desiredFrame)
|
void |
checkReferenceFrameMatch(ReferenceFrame frame)
|
void |
checkReferenceFrameMatch(ReferenceFrameHolder referenceFrameHolder)
|
double |
distance(FramePoint point)
Find the distance from the closest point on this shape to the given point. |
void |
getClosestPointAndNormalAt(FramePoint intersectionToPack,
FrameVector normalToPack,
FramePoint pointToCheck)
Find the closest point on the surface of this shape to the given point as well as the surface normal at that point. |
Cylinder3d |
getCylinder3d()
|
double |
getHeight()
|
double |
getRadius()
|
ReferenceFrame |
getReferenceFrame()
|
boolean |
isInsideOrOnSurface(FramePoint pointToTest)
Determine whether the given point is on or inside the surface of this shape. |
boolean |
isInsideOrOnSurface(FramePoint pointToTest,
double epsilon)
Determine whether the given point is on or inside the surface of this shape, within a given tolerance or error level. |
void |
orthogonalProjection(FramePoint point)
Find the closest point on the surface of this shape to the given point. |
FramePoint |
orthogonalProjectionCopy(FramePoint point)
Find the closest point on the surface of this shape to the given point. |
void |
setAndChangeFrame(FrameCylinder3d other)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FrameCylinder3d(FrameCylinder3d other)
public FrameCylinder3d(ReferenceFrame referenceFrame)
public FrameCylinder3d(ReferenceFrame referenceFrame, Cylinder3d Cylinder3d)
public FrameCylinder3d(ReferenceFrame referenceFrame, javax.media.j3d.Transform3D configuration, double height, double radius)
public FrameCylinder3d(ReferenceFrame referenceFrame, double height, double radius)
Method Detail |
---|
public Cylinder3d getCylinder3d()
public void checkReferenceFrameMatch(ReferenceFrameHolder referenceFrameHolder) throws ReferenceFrameMismatchException
checkReferenceFrameMatch
in interface ReferenceFrameHolder
ReferenceFrameMismatchException
public void checkReferenceFrameMatch(ReferenceFrame frame) throws ReferenceFrameMismatchException
checkReferenceFrameMatch
in interface ReferenceFrameHolder
ReferenceFrameMismatchException
public ReferenceFrame getReferenceFrame()
getReferenceFrame
in interface ReferenceFrameHolder
public FrameCylinder3d changeFrameCopy(ReferenceFrame desiredFrame)
changeFrameCopy
in interface ReferenceFrameHolder
public void changeFrame(ReferenceFrame desiredFrame)
public double getRadius()
public double getHeight()
public double distance(FramePoint point)
FrameShape3d
distance
in interface FrameShape3d
public FramePoint orthogonalProjectionCopy(FramePoint point)
FrameShape3d
orthogonalProjectionCopy
in interface FrameShape3d
public void orthogonalProjection(FramePoint point)
FrameShape3d
orthogonalProjection
in interface FrameShape3d
point
- both an input parameter (the point to check),
and an output parameter (packed with the resulting ortho point).public FrameCylinder3d applyTransformCopy(javax.media.j3d.Transform3D transform3D)
FrameShape3d
applyTransformCopy
in interface FrameShape3d
public void applyTransform(javax.media.j3d.Transform3D transformation)
FrameShape3d
applyTransform
in interface FrameShape3d
public boolean isInsideOrOnSurface(FramePoint pointToTest)
FrameShape3d
isInsideOrOnSurface
in interface FrameShape3d
public boolean isInsideOrOnSurface(FramePoint pointToTest, double epsilon)
FrameShape3d
isInsideOrOnSurface
in interface FrameShape3d
public void getClosestPointAndNormalAt(FramePoint intersectionToPack, FrameVector normalToPack, FramePoint pointToCheck)
FrameShape3d
getClosestPointAndNormalAt
in interface FrameShape3d
intersectionToPack
- out parameter packed with the resulting closest point on the shapenormalToPack
- out parameter packed with the resulting normal vectorpublic void setAndChangeFrame(FrameCylinder3d other)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |