LocatePoint - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

LocatePoint

  

find maximal dimensional face containing a point

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

LocatePoint(point, polyset)

Parameters

point

-

list of rationals, a point in the coordinate system of polyset

polyset

-

polyhedral set

Description

• 

This command finds the highest dimensional face of polyset that contains point.  A point in a set's interior will return polyset, while a point not in the set will return the empty set.

Examples

withPolyhedralSets:

A point inside the cube belongs to the trivial face that is the cube itself.

cExampleSets:-Cube;origin_locationLocatePoint0,0,0,c

c{Coordinates:x1,x2,x3Relations:x31,x31,x21,x21,x11,x11

origin_location{Coordinates:x1,x2,x3Relations:x31,x31,x21,x21,x11,x11

(1)

A point on the side of the cube returns the face with dimension 2 that includes the point.

cube_faceLocatePoint0,0,1,c

cube_face{Coordinates:x1,x2,x3Relations:x3=1,x21,x21,x11,x11

(2)

Dimensioncube_face

2

(3)

A point outside of the cube returns the empty set.

outside_cubeLocatePoint2,1,1,c

outside_cube{Coordinates:x1,x2,x3Relations:0−1

(4)

IsEmptyoutside_cube

true

(5)

Compatibility

• 

The PolyhedralSets[LocatePoint] command was introduced in Maple 2015.

• 

For more information on Maple 2015 changes, see Updates in Maple 2015.

See Also

PolyhedralSets[IsEmpty]

PolyhedralSets[`in`]

PolyhedralSets[InteriorPoint]

PolyhedralSets[Dimension]

PolyhedralSets[Faces]

PolyhedralSets[PolyhedralSet]

PolyhedralSets