neq

Purpose

Test if a polyhedron is not equal to another polyhedron.

Syntax

S ~= P

Description

Check if the polyhedron S is not equal to polyhedron P. The result it the logical statement if ../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/ne1.png and false otherwise.

Input Arguments

P

Polyhedron in any format

Class: Polyhedron

S

Polyhedron in any format with the same dimension as P.

Class: Polyhedron

Output Arguments

tf

True if ../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/ne2.png and false otherwise.

Class: logical

Allowed values:

  • true
  • false

Example(s)

Example 1

Compare two different polyhedra. Polyhedron P.
 P = ExamplePoly.randHrep; 
 Polyhedron S. 
 S = ExamplePoly.randVrep; 
 P~=S 

See Also

eq, contains, le, lt, gt, ge


© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch