Glyph Version 7.22.2 |
pw:: SourcePointSource point type Derives Frompw::Object pw::Entity pw::SourceEntity Summary
create
This action creates a new source point object. Parametersnone ReturnsThis action returns a new pw::SourcePoint object. getPosition
This action gets the position in the defining space of the point at the given parameter or index. Parameters
ReturnsThis action returns the same point for all valid values. The returned point may be in the form “u v dbentity”. ExampleThis example gets the point’s position. $surface is referencing an existing database surface. Code set point [pw::SourcePoint create] Output { 0.5 0.6 ::pw::Surface_4 } getXYZ
This action gets the position of the point in model space at the given parameter or index Parameters
ReturnsThis action returns the same XYZ vector for all valid values. ExampleThis example gets the point’s XYZ location. $surface is referencing an existing database surface. Code set point [pw::SourcePoint create] Output { -19.551259370339967 6.9502396184800865 -13.487247573541483 } isConstrained
This action checks to see if the point is database constrained. ParametersThis action has no parameters. ReturnsThis action returns a boolean. ExampleThis example checks to see if the point is database constrained. $surface is referencing an existing database surface. Code set point [pw::SourcePoint create] Output 1 |
This action creates a new source point object.
pw::SourcePoint create
This action sets the position of this source point.
$point setPoint point
This action sets the position of this source point to the average of the given points in cartesian space.
$point setAveragePoint points
This action gets the control point of this soiurce point.
$point getPoint
This action gets the position in the defining space of the point at the given parameter or index.
$point getPosition ?< -parameter | -index > value?
This action gets the position of the point in model space at the given parameter or index
$point getXYZ ?< -parameter | -index > value?
This action checks to see if the point is database constrained.
$point isConstrained