IsInInterior - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


PolyhedralSets

  

IsInInterior

  

test if a polyhedral set is contained in the interior of another

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsInInterior(ps1, ps2)

Parameters

ps1, ps2

-

polyhedral sets

Description

• 

Returns true if the polyhedral set ps1 is contained in the interior of the highest dimensional face of ps2, that is if ps1 is a subset of ps2 and the intersections between the facets of ps1 and the facets of ps2 are empty.

Examples

> 

with⁡PolyhedralSets:

A small cube resides in the interior of a larger cube.

> 

c_big≔ExampleSets:-Cube⁡−1..1,−1..1,−1..1

c_big≔{Coordinates:x1,x2,x3Relations:−x3≤1,x3≤1,−x2≤1,x2≤1,−x1≤1,x1≤1

(1)
> 

c_small≔ExampleSets:-Cube⁡−110..110,−110..110,−110..110

c_small≔{Coordinates:x1,x2,x3Relations:−x3≤110,x3≤110,−x2≤110,x2≤110,−x1≤110,x1≤110

(2)
> 

IsInInterior⁡c_small,c_big

true

(3)
> 

Plot⁡c_big,c_small,faceoptions=transparency=0.5,0.

The empty set is not in the interior of any other set.

> 

IsInInterior⁡ExampleSets:-EmptySet⁡3,ExampleSets:-Cube⁡

false

(4)

Compatibility

• 

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

• 

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

See Also

PolyhedralSets[`in`]

PolyhedralSets[`subset`]

PolyhedralSets[LocatePoint]

PolyhedralSets[IsEmpty]

PolyhedralSets[InteriorPoint]

PolyhedralSets[PolyhedralSet]

PolyhedralSets