Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

OrientedPlane3

Oriented planes are the reason GTSAM switched from optimizing over groups to optimizing over manifolds. OrientedPlane3 represents a plane by a unit normal and signed distance from the origin; reversing all four coefficients represents the opposite oriented plane.

Open In Colab

Initialization

Construct from a Unit3 normal and distance, a four-vector, or four scalar coefficients. Non-unit coefficient vectors are normalized internally.

Normal, distance, and error

normal() and distance() expose the minimal representation. errorVector(other) returns a three-dimensional manifold discrepancy: two coordinates for normal direction and one for distance.

Transforming a plane

transform(pose) expresses the plane after applying a Pose3. This is the dual operation to transforming points; both the normal and signed distance can change.

Source

OrientedPlane3.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.