예제 #1
0
        private bool AxisParallel(Point3D currentPoint, Point3D initialPosition, double angleRange)
        {
            if (currentPoint.IsEqual(initialPosition))
            {
                return(false);
            }
            var direction = new gpDir(new gpVec(initialPosition.GpPnt, currentPoint.GpPnt));

            return(_axisDirection.IsParallel(direction, angleRange));
        }
 protected override bool LinesAxisMatch(gpDir axisDir, gpDir direction, double angleRange)
 {
     return(axisDir.IsParallel(direction, angleRange));
 }