@ Pure public double distanceSquaredSegment ( Point3D point ) { return distanceSquaredSegmentPoint ( getX1 ( ) , getY1 ( ) , getZ1 ( ) , getX2 ( ) , getY2 ( ) , getZ2 ( ) , point . getX ( ) , point . getY ( ) , point . getZ ( ) ) ; }
Replies the squared distance between this segment and the given point .