pymel.core.datatypes.FloatPoint

digraph inheritanceca4c43c84b {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "Point" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.datatypes.Point.html#pymel.core.datatypes.Point",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Vector" -> "Point" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "MPoint" -> "Point" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "MVector" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "VectorN" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="../pymel.util.arrays/pymel.util.arrays.VectorN.html#pymel.util.arrays.VectorN",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Array" -> "VectorN" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "MFloatPoint" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "MPoint" [shape=box,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=8,style="setlinewidth(0.5)",height=0.25];
  "Vector" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="pymel.core.datatypes.Vector.html#pymel.core.datatypes.Vector",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "VectorN" -> "Vector" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "MVector" -> "Vector" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "FloatPoint" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.datatypes.FloatPoint",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
  "Point" -> "FloatPoint" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "MFloatPoint" -> "FloatPoint" [arrowsize=0.5,style="setlinewidth(0.5)"];
  "Array" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="../pymel.util.arrays/pymel.util.arrays.Array.html#pymel.util.arrays.Array",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

class FloatPoint(*args, **kwargs)

A 4 dimensional vector class that wraps Maya’s api FloatPoint class, It behaves identically to Point, but it also derives from api’s FloatPoint to keep api methods happy

apicls
alias of MFloatPoint
setCast(srcpt)

Copy the values of x, y, z, and w from srcpt to the instance. Note that this operation will lose precision as it casts from double to single-precision floating point.

Parameters:
srcpt : Point

the point to copy the x, y, z and w values from.

Derived from api method maya.OpenMaya.MFloatPoint.setCast

Undo is not currently supported for this method

w
x
y
z

Previous topic

pymel.core.datatypes.FloatMatrix

Next topic

pymel.core.datatypes.FloatVector

Core

Core Modules

Other Modules

This Page