Main /

BackwardsCompatibility

Main.BackwardsCompatibility History

Hide minor edits - Show changes to markup

Changed lines 41-43 from:
polytope/volumePolyhedron/volume
to:
polytope/volumePolyhedron/volume
mpt_removeOverlapsPolyUnion/min
mpt_isPWAbiggerPolyUnion/compare
January 15, 2014, at 07:16 PM by 91.127.128.140 -
Changed line 1 from:

In general, MPT3 is *NOT* compatible with MPT2. However, MPT3 contains a thin compatibility layer, which maps methods of the polytope object of MPT2 onto corresponding methods of the Polyhedron object in MPT3.

to:

In general, MPT3 is NOT compatible with MPT2. However, MPT3 contains a thin compatibility layer, which maps methods of the polytope object of MPT2 onto corresponding methods of the Polyhedron object in MPT3.

January 10, 2014, at 03:52 PM by 188.167.109.37 -
Changed line 9 from:
polytope/dimensionPolyhedron/Dim
to:
polytope/dimensionPolyhedron.Dim
Changed line 13 from:
polytope/eq (P==Q)Polyhedron/eq
to:
polytope/eq (P==Q)Polyhedron/eq or P==Q
Changed lines 16-18 from:
polytope/ge (P>=Q)Polyhedron/ge
polytope/hullPolyhedron/convexHull
polytope/intersectPolyhedron/intersect
to:
polytope/ge (P>=Q)Polyhedron/ge or P>=Q
polytope/hullPolyhedron(V)
polytope/intersectPolyhedron/intersect or P & Q
Changed line 24 from:
polytope/le (P<=Q)Polyhedron/le
to:
polytope/le (P<=Q)Polyhedron/le or (P<=Q)
Changed line 33 from:
polytope/plus (P+Q)Polyhedron/plus
to:
polytope/plus (P+Q)Polyhedron/plus or P+Q
January 10, 2014, at 02:35 PM by 147.175.64.200 -
Changed line 36 from:
polytope/reducePolyhedron/convexHull
to:
polytope/reducePolyhedron/minHRep
January 10, 2014, at 02:33 PM by 147.175.64.200 -
Changed line 12 from:
polytope/doublePolyhedron.H
to:
polytope/doublePolyhedron.H, Polyhedron.A, Polyhedron.b
Changed line 14 from:
polytope/extremePolyhedron.V
to:
polytope/extremePolyhedron.V, Polyhedron.R
January 10, 2014, at 02:33 PM by 147.175.64.200 -
Changed line 12 from:
polytope/doublePolyhedron/H
to:
polytope/doublePolyhedron.H
Changed line 14 from:
polytope/extremePolyhedron/extreme
to:
polytope/extremePolyhedron.V
Changed line 22 from:
polytope/isinsidePolyhedron/contains, Polyhedron/isInside
to:
polytope/isinsidePolyhedron/contains
May 23, 2013, at 08:03 PM by Michal Kvasnica -
Added lines 1-41:

In general, MPT3 is *NOT* compatible with MPT2. However, MPT3 contains a thin compatibility layer, which maps methods of the polytope object of MPT2 onto corresponding methods of the Polyhedron object in MPT3.

In short, this layer allows most (if not all) custom algorithms to just work with MPT3. If you find that some methods misbehaves, or was not implemented in the compatibility layer, please let us know.

MPT2 functionEquivalent in MPT3
polytopePolyhedron
polytope/bounding_boxPolyhedron/outerApprox
polytope/chebyballPolyhedron/chebyCenter
polytope/dimensionPolyhedron/Dim
polytope/distancePolyhedron/distance
polytope/domainPolyhedron/invAffineMap
polytope/doublePolyhedron/H
polytope/eq (P==Q)Polyhedron/eq
polytope/extremePolyhedron/extreme
polytope/facetcirclePolyhedron/getFacet, Polyhedron/chebyCenter
polytope/ge (P>=Q)Polyhedron/ge
polytope/hullPolyhedron/convexHull
polytope/intersectPolyhedron/intersect
polytope/isboundedPolyhedron/isBounded
polytope/isconvexPolyUnion/isConvex
polytope/isfulldimPolyhedron/isFullDim, Polyhedron/isEmptySet
polytope/isinsidePolyhedron/contains, Polyhedron/isInside
polytope/isminrepPolyhedron/irredundantHRep
polytope/le (P<=Q)Polyhedron/le
polytope/mergePolyUnion/merge
polytope/minus (P-Q)Polyhedron/minus
polytope/mldivide (P\Q)Polyhedron/mldivide
polytope/mtimes (P*Q)Polyhedron/mtimes, Polyhedron/affineMap
polytope/nconstrsize([Polyhedron.H; Polyhedron.He], 1)
polytope/ne (P~=Q)Polyhedron/ne
polytope/normalizePolyhedron/normalize
polytope/plotPolyhedron/plot
polytope/plus (P+Q)Polyhedron/plus
polytope/projectionPolyhedron/projection
polytope/rangePolyhedron/affineMap
polytope/reducePolyhedron/convexHull
polytope/regiondiffPolyhedron/mldivide (P\Q)
polytope/slicePolyhedron/slice
polytope/triangulatePolyhedron/triangulate
polytope/unionPolyUnion/isConvex
polytope/volumePolyhedron/volume