HalfPlane

HalfPlane[{p1,p2},w]

represents the half-plane bounded by the line through p1 and p2 and extended in the direction w.

HalfPlane[p,v,w]

represents the half-plane bounded by the line through p along v and extended in the direction w.

Details • HalfPlane is also known as half-space in 2D.
• HalfPlane can be used as a geometric region and graphics primitive.
• • HalfPlane represents a planar region or .
• HalfPlane can be used in Graphics and Graphics3D.
• HalfPlane will be clipped by PlotRange when rendering.
• In graphics, the points p, pi and vector v can be Scaled and Dynamic expressions.
• Graphics rendering is affected by directives such as FaceForm, EdgeForm, Opacity, and color.
• FaceForm[front,back] can be used to specify different styles for the front and back in 3D. The front is defined by the right-hand rule and the direction from {p1,w,p2} or {p,v,w}.

Examples

open all close all

Basic Examples(4)

A HalfPlane in 2D:

 In:= Out= And in 3D:

 In:= Out= Different styles applied to a half-plane:

 In:= In:= Out= The Area of a half-plane is infinite:

 In:= Out= Determine if points belong to a given half-plane:

 In:= In:= Out= Neat Examples(1)

Introduced in 2014
(10.0)
|
Updated in 2016
(11.0)