def getNormals(interpolationOffset, offset, portionDirection):
 normals = []
 portionFrom = (portionDirection.portion - 0.0001)
 portionTo = (portionDirection.portion + 0.0001)
 if (portionFrom >= 0.0):
  normals.append((offset - interpolationOffset.getVector3ByPortion(PortionDirection(portionFrom))).getNormalized())
 if (portionTo <= 1.0):
  normals.append((interpolationOffset.getVector3ByPortion(PortionDirection(portionTo)) - offset).getNormalized())
 return normals

def getNormals ( interpolationOffset , offset , portionDirection ) : normals = [ ] portionFrom = ( portionDirection . portion - 0.0001 ) portionTo = ( portionDirection . portion + 0.0001 ) if ( portionFrom >= 0.0 ) : normals . append ( ( offset - interpolationOffset . getVector3ByPortion ( PortionDirection ( portionFrom ) ) ) . getNormalized ( ) ) if ( portionTo <= 1.0 ) : normals . append ( ( interpolationOffset . getVector3ByPortion ( PortionDirection ( portionTo ) ) - offset ) . getNormalized ( ) ) return normals
get normals .