Skip to content

Geometry Utilities

Petingo edited this page Aug 7, 2023 · 1 revision

GeometryUtils.h provides a list of functions for performing 3D geometry computation, such as plane-to-plane or line-to-plane intersection. Here are the available functions:

Vectors

  • Angle between two vectors
  • Check if two vectors are in the same direction (angle < 90 degree)

Point

  • Projection point on plane
  • Nearest point on line

Line Segment

  • Extend line segment by length
  • Form longest line segment from a list of co-line points
  • Check if a point is in between a line segment

Intersections

  • Line & plane -> point
  • Line Segment & plane -> point
  • Line & line -> point
  • Line * line segment -> point
  • Plane & plane -> line

Home

GO system

Layers

Utilities

Clone this wiki locally