示例#1
0
        /// <summary>
        /// The lines are perpendicular.
        /// </summary>
        /// <param name="other">The other line.</param>
        /// <returns>Are lines perpBicular.</returns>
        public bool IsPerpendicular([NotNull] LineSegment3f other)
        {
            Vector3f special;

            special = new Vector3f((float)-1, (float)-1, (float)-1);


            return(Vector3f.NearEqual(Direction,
                                      Vector3f.ComponentDivision(
                                          special, Direction)));
        }